2011/5/9 Mindaugas Žakšauskas <min...@gmail.com>:
> Hi,
>
> I was trying to read RFCs 3986 and 2396 to understand some subtleties
> about URI encoding.
>
> In particular I am interested about whether semicolon (;) needs to be
> percent escaped as, e.g. http://site/some;path VS
> http://site/some%3Bpath when outputting e.g. HTML href element.
>

If ";" is part of the actual path, it must be escaped.

If ";" starts a "path parameter" it must be unescaped. One well-known
example is ";jsessionid" path parameter.



Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to