On Apr 10, 2006, at 2:50 PM, Ruediger Pluem wrote:
I also thought initially to fix this in apr-util, but right know I am not sure about it, because IMHO apr_uri_parse should do generic uri parsing. Setting an empty uri to "/" seems to be HTTP specific, so I am not sure
if we should do this in apr_uri_parse. At least we would need to check
whether the scheme is http or https.

It probably needs to be updated for RFC 3986 anyway.  The path should
be set to "", not NULL.  The HTTP server should take care of the
redirect from "" to "/", which in this case means the http-proxy
needs to check for "" when it sends a request and respond with a
redirect that adds the "/".

....Roy

Reply via email to