tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Seak, Teng-Fong" <seak_tengf...@yahoo.com>
Subject Re: percent sign in URI
Date Wed, 01 Feb 2006 12:45:39 GMT
    I'm not sure "properly" is the correct word to use in your 
situation.  Doing things based on bug is always a big risk.  If one day 
Apache corrects this bug, your customer will have a great pain in the *ss!

abdurrahman sahin wrote:

>hi David;
>I am aware of the case. As I stated before Apache2 server properly handles
>that problem and I need that functionality because our customer's system
>built on it.
>
>
>-----Original Message-----
>From: David Delbecq [mailto:david.delbecq@oma.be]
>Sent: Wednesday, February 01, 2006 11:58 AM
>To: Tomcat Users List
>Subject: Re: percent sign in URI
>
>
>Hello abdurrahman,
>
>Your url is incorrect, replace it with
>http://localhost:8080/aSite/aPage?query=hi%25everybody
>
>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.
>
>Regards.
>
>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.
>>like
>>http://localhost:8080/aSite/aPage?query=hi%everybody
>>Tomcat 5 cannot handle that, Is there a way to do it with tomcat 5.
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>
>>    
>>


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


Mime
View raw message