tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Frederic <jfcl...@gmail.com>
Subject Re: svn commit: r544137 - /tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c
Date Mon, 11 Jun 2007 15:57:05 GMT
On Sat, 2007-06-09 at 23:15 +0200, Remy Maucherat wrote:
> Mark Thomas wrote:
> > If we re-encoded the uri before sending it to Tomcat that would meet
> > all of the above requirements wouldn't it?
> 
> I don't see how reencoding the URI would be possible: it will mess up 
> character encoding, and may not correspond to the original URI.

I think the actual default in mod_jkis still no Ok too:

/myapp/%1234%1234/toto.gif rewritten by mod_write
to /myapp/..../toto.txt gives /myapp/^R34^R34/toto.gif not found in
mod_jk.
The ^R should be reencoded to %12 so that Tomcat could process the
request correctly.

Mod_proxy does that correctly via ap_proxy_canonenc().

Should I port ap_proxy_canonenc() to mod_jk and make it the default
handling?

Cheers

Jean-Frederic
> 
> How does it work in mod_proxy ?
> 
> Rémy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
> 


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


Mime
View raw message