-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark,

Mark H. Wood wrote:
| Sorry, I didn't fully specify the problem.  I do refer to
| URI-(en|de)coding, not to character encoding issues.

If the original URL was "http://server/app?foo=a%20space"; (or even
"http://server/app?foo=a+space";, then calling
request.getParameter("foo") will return "a space" (i.e. no percents).

If you have a double-encoded parameter value (say, because you were
trying to pass a URL as a parameter value), then it will not be
double-decoded for you. Thus, "http://server/app?foo=a%3720space";, then
getParameter("foo") will return "a%20space".

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhO3lcACgkQ9CaO5/Lv0PDfdQCfWsw1squNTM//UNvoeP7icF36
b9IAoKjLoRjTkYT8de5+c3X/ceWXv7Tj
=8PFj
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to