Skip to content
Markus Unterwaditzer edited this page Aug 18, 2015 · 4 revisions

Theory

When fetching resources, URL encoding and normalization is in theory a non-issue, since you're supposed to just reuse the same exact strings that the server gave you. For comparing URIs, see section 6 of the RFC.

Bugs

Workarounds

  • It is strongly recommended to avoid unsafe characters in names when PUT-ing new items or when creating collections. Safe characters include alphanumeric characters and _.-.

  • For normalization, one may decode the URL until:

    • It doesn't change anymore.
    • A remaining %-sequence would decode to a reserved character.

    then encode it once. Note that this might change the meaning of the URL and accidentally give you a reference to a different item or collection, but given the current implementations and their buggyness, this is rather unlikely.

Further references

Clone this wiki locally