[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 62663] REQUEST_URI includes query string, contrary to documentation

--- Comment #1 from Eric Covener <covener@xxxxxxxxx> ---
It looks like REQUEST_URI the internal environment variable (which gets copied
to the environment for a CGI or is accessible as 'reqenv' in expressions) is
the actual URI, whereas REQUEST_URI is the path component only. 

e.g. these give different results:

# not even in the env w/o CGI
Header always set "X-URI" "expr=%{reqenv:REQUEST_URI}"
# path only
Header always set "X-URI2" "expr=%{REQUEST_URI}"

I think it's worth a caveat a few places where directives can read "special"
variables and similar "environment variables" (ap_expr, rewritecond, setenvif)

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx