|
From: | Alex Shinn |
Subject: | Re: [Chicken-users] [Q] uri-common has problem with UTF-8 uri. |
Date: | Wed, 16 Jan 2013 00:39:16 +0900 |
These special characters are called "reserved" in the BNF. As you can
see, the question mark, equals sign and ampersand is in there.
For query urlencoded query strings, these *cannot* be decoded, because
then you can't distinguish between
http://calc.example.com?bool-expr=x%26y%3D
and
http://calc.example.com?bool-expr=x&y=1
The former should be decoded in uri-common to the alist
((bool-expr . "x&y=1")) and the latter to ((bool-expr . "x") (y . "1")).
By fully decoding all reserved characters in uri-generic, you drop
important information.
[Prev in Thread] | Current Thread | [Next in Thread] |