You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you run the examples in the docs, docs.html#static-decodeQuery, they don't work as explained. Here are two, currently failing, tests I made based on docs.html that shows it. Also, the functions in this section are lacking unit-tests. I volunteer to help code and fix, but then I need some help explain how the functions are specified to work. Is the docs or the code faulty?
This is an issue with the documentation and the result of a bad API decision.
Version 1.11.0 introduced URI.escapeQuerySpace so one could configure if a querystring should use + or %20 for encoding spaces.
in Order to get the the result you're looking for, you'd have to call URI.encodeQuery(" ", true). From an API point of view this doesn't make any sense. The additional parameter was meant for internal use. It should be optional when used externally. In order to make this work, I would change
If you run the examples in the docs, docs.html#static-decodeQuery, they don't work as explained. Here are two, currently failing, tests I made based on docs.html that shows it. Also, the functions in this section are lacking unit-tests. I volunteer to help code and fix, but then I need some help explain how the functions are specified to work. Is the docs or the code faulty?
The text was updated successfully, but these errors were encountered: