Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double QUERY_STRING in error URL #6

Open
zenkay opened this issue Mar 16, 2010 · 0 comments
Open

Double QUERY_STRING in error URL #6

zenkay opened this issue Mar 16, 2010 · 0 comments

Comments

@zenkay
Copy link

zenkay commented Mar 16, 2010

if the script raises an exception has url like
http://www.domain.com/path/to/my/script.html?foo=bar

HTTP_HOST = www.domain.com
REQUEST_URI = /path/to/my/script.html?foo=bar
QUERY_STRING = ?foo=bar

REQUEST_URI already contains QUERY_STRING.
Reported URL is wrong: http://www.domain.com/path/to/my/script.html?foo=bar?foo=bar

I fix it replacing REQUEST_URI with SCRIPT_NAME.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant