On Tue, Aug 14, 2001 at 08:12:31PM -0700, [EMAIL PROTECTED] wrote:
> On Tue, 14 Aug 2001, Justin Erenkrantz wrote:
> 
> > Which, of course, is the right solution.
> 
> Is it ? Re-escaping the URI will most likely generate something very
> different from the original, it's not symetrical. Getting a re-escaped
> request is different from "the original, unescaped" uri. That's the reason
> we use the unescaped uri...

Potentially, you are correct.  It may not be symmetrical.  However, 
httpd may jump in and rewrite the uri for you.  If that is a problem
(which is what the original poster was complaining about), then you
need to use r->uri instead and escape it.  Unless you want to only
pass the original string NOT what the server is serving.

I'm not sure what the Servlet spec says - use the original string 
that the client passed in, or use the "real" URI.  I'm out of my 
depth here.  *shrug*  -- justin

Reply via email to