URLs and percent encoding
Read OriginalThe article details a developer's realization that automatically decoding percent-encoded URLs in a library (libdav) is flawed. Using examples like '/path/to/theitem%2Fwithslash.ics', it explains how decoding reserved characters like '/' changes the resource's meaning. It references RFC3986 to distinguish between reserved and unreserved characters and advises treating URL paths as opaque strings for safety, with normalization only for comparison.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser