tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Delbecq <>
Subject Re: percent sign in URI
Date Wed, 01 Feb 2006 09:57:42 GMT
Hello abdurrahman,

Your url is incorrect, replace it with

According to rfc 1738, 2.2. URL Character Encoding Issues
   Octets must be encoded ..., if the use of the corresponding character is unsafe, ...
   The character "%" is unsafe because it is used for encodings of other characters.
   Thus, only alphanumerics, the special characters "$-_.+!*'(),", and reserved characters
used for their reserved purposes may be used unencoded within a URL.

There is no details in RFC on how to handle badly shaped urls (like % not followed by 2 hex
digits) and thus your urls should not rely upon this.


abdurrahman sahin a écrit :

>I realized apache2 web server properyl handles % sign in URIs, i need =
>exact functionality on tomcat 5 too.
>When I try to pass a parameter containing % sign, the parameter value on =
>the server seems null.
>Tomcat 5 cannot handle that, Is there a way to do it with tomcat 5.
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message