Closed tnederlof closed 4 months ago
connectapi uses string concatenation or interpolation to assemble query strings, rather than passing query params to httr
and letting it handle the URL encoding. Case in point: https://github.com/rstudio/connectapi/blob/main/R/connect.R#L680-L682
I'll fix this, and as many others as I can find.
connectapi uses string concatenation or interpolation to assemble query strings, rather than passing query params to
httr
and letting it handle the URL encoding. Case in point: https://github.com/rstudio/connectapi/blob/main/R/connect.R#L680-L682I'll fix this, and as many others as I can find.
Thank you! Yes I see it for users as well. I will change the issue to be more broad. https://github.com/rstudio/connectapi/blob/15f49bcba389b616c4ec51717dca993f65fc24bf/R/connect.R#L575
Using the
prefix
arguement forget_groups()
works fine when there are no spaces, however with a space (and certain other symbols) will result in a malformed URL error (URL rejected: Malformed input to a URL function).This applies beyond groups, see comments in the issue.