tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <r...@apache.org>
Subject Re: svn commit: r544137 - /tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c
Date Mon, 11 Jun 2007 15:57:54 GMT
Jean-Frederic wrote:
> 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?

Doing exactly what mod_proxy does would be the best, I think.

Rémy

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


Mime
View raw message