[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-users
Subject:    Re: Problem with RedirectMatch and '?'
From:       Joshua Slive <joshua () slive ! ca>
Date:       2002-01-30 22:49:03
[Download RAW message or body]


On Wed, 30 Jan 2002, Laurent Lechelle wrote:

> Joshua Slive écrit:
>
> > Personally, I've never really understood why Redirect(Match) does
> > url encoding.  I would think it should be left to the user.
>
> I found this information in the bug database for PR7503
> (http://bugs.apache.org/index.cgi/full/7503). It says that it will be fixed
> in 2.0, a patch is available for 1.3.
>
> =====================================================
> State-Changed-Why:
> We can't just remove the escaping, because it is possible
> to redirect to a file with a space in it.  If we don't
> escape the URI, then we will redirect to an invalid URL.
> The problem is that we are escaping too much.  Currently we escape the URI
> and the QUERY_STRING.

Yes, I know, but I don't think that is valid.  I think it should be a
configuration error to redirect to an invalid URL.  We shouldn't just take
an invalid URL and try to make it valid.  We should be assuming that an
HTTP server administrator knows enough to construct well-formed URLs.

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic