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.
0 comments
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
1
The Beautiful Web
Jens Oliver Meiert
•
2 votes
2
Container queries are rad AF!
Chris Ferdinandi
•
2 votes
3
Wagon’s algorithm in Python
John D. Cook
•
1 votes
4
An example conversation with Claude Code
Dumm Zeuch
•
1 votes
5
Top picks — 2026 January
Paweł Grzybek
•
1 votes
6
In Praise of –dry-run
Henrik Warne
•
1 votes
7
Deep Learning is Powerful Because It Makes Hard Things Easy - Reflections 10 Years On
Ferenc Huszár
•
1 votes
8
Vibe coding your first iOS app
William Denniss
•
1 votes