You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rainer Jung <ra...@kippdata.de> on 2007/04/09 22:05:29 UTC

Re: mod_jk changes url?

Hi Peter,

have a look at the online docs, especially the apache page inside the
refrence guide. There are a couple of JkOptions of type ForwardURIxxx,
with which you can configure URI encoding behaviour.

Regards,

Rainer

Peter Coppens schrieb:
> Gentlepeople,
> 
> I have a weird problem where I send a request from a browser to apache2
> (running on Debian) to tomcat 6 (jdk 1.5) through mod_jk and where the
> requested url in tomcat seems different from the one that is sent to
> apache2.
> 
> In my case the url contains an "escaped" single quote (%27) like in
> http://host/Peter%27Georges.Coppens
> 
> Tomcat however seems to receive http://host/Peter'Georges.Coppens which
> thoroughly confuses my servlet.
> 
> Am I doing something wrong, or is this the intended behavior?
> 
> Any guidance would be warmly welcomed!
> 
> Thanks,
> 
> Peter
> 
> 
> 

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


Re: mod_jk changes url?

Posted by Peter Coppens <pc...@gmail.com>.
Thanks Rainer, that was indeed the "problem".

Peter


Rainer Jung-3 wrote:
> 
> Hi Peter,
> 
> have a look at the online docs, especially the apache page inside the
> refrence guide. There are a couple of JkOptions of type ForwardURIxxx,
> with which you can configure URI encoding behaviour.
> 
> Regards,
> 
> Rainer
> 
> Peter Coppens schrieb:
>> Gentlepeople,
>> 
>> I have a weird problem where I send a request from a browser to apache2
>> (running on Debian) to tomcat 6 (jdk 1.5) through mod_jk and where the
>> requested url in tomcat seems different from the one that is sent to
>> apache2.
>> 
>> In my case the url contains an "escaped" single quote (%27) like in
>> http://host/Peter%27Georges.Coppens
>> 
>> Tomcat however seems to receive http://host/Peter'Georges.Coppens which
>> thoroughly confuses my servlet.
>> 
>> Am I doing something wrong, or is this the intended behavior?
>> 
>> Any guidance would be warmly welcomed!
>> 
>> Thanks,
>> 
>> Peter
>> 
>> 
>> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/mod_jk-changes-url--tf3494055.html#a9915541
Sent from the Tomcat - User mailing list archive at Nabble.com.


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