On Mon, Jan 13, 2003 at 02:37:03PM -0800, Greg Stein wrote:
> IMO, Apache should not do any URI decoding.
> Instead, Apache should figure out who is going to handle the request (i.e.
> map the identified resource to a handler), then let the handler do whatever
> processing is appropriate on the URI.
[...]
> But again: URI munging should be left to handlers rather than the core.
> (altho, of course, the core can provide utilities to those handlers)

+1
At the very least, the original URI should be preserved and exposed to the
handlers, in addition to the decoded parts.

> Today, Apache unconditionally decodes the URI (see the problems that Mike
> Pilato just posted about today), which really horks systems that need to
> pass that URI further along (e.g. proxy-like code).

Exactly.
URI decoding discards information that could be valuable to later handlers.

Another example besides proxy-related code is in the case of using the
Action directive, which can also add a layer of encoding on top of any
existing encoding.

-Glenn

Reply via email to