ropensci / ruODK

ruODK: An R Client for the ODK Central API
https://docs.ropensci.org/ruODK/
GNU General Public License v3.0
42 stars 13 forks source link

Encoding the xmlFormId #60

Closed matthew-white closed 4 years ago

matthew-white commented 4 years ago

ODK Central recently had an issue related to URL-encoding: there was a place where we needed to encode the xmlFormId in a URL. It's a subtle thing, so I just wanted to check that ruODK also encodes the xmlFormId in the URLs that it uses for requests!

florianm commented 4 years ago

Cheers, Matt! ruODK now encodes the form ID using URLencode(fid, reserved = TRUE) which, coming from the utils package, doesn't add any extra dependencies.