Permalink
Please sign in to comment.
Browse files
Technically correct version of URL/percent-encoding
Java's URLEncoder and URLDecoder classes don't follow the URL-encoding format precisely, instead encoding strings in the slightly different www-form-urlencoded format. This commit ensures that the url-encode and url-decode functions work correctly, leaving it up to the form-encode and form-decode functions to handle data encoded in the www-form-urlencoded format.
- Loading branch information...
Showing
with
53 additions
and 14 deletions.
43
ring-core/src/ring/util/codec.clj
24
ring-core/test/ring/util/test/codec.clj
0 comments on commit
98bb0b9