We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I suggest using REQUEST_PATH instead of SCRIPT_NAME to get requested URI in parse_request.
REQUEST_PATH
SCRIPT_NAME
parse_request
https://github.com/rory/rust-cgi/blob/269b6680b84bc2645e89ec144f31bbc8b7a4bb2a/src/lib.rs#L235-L240
When the server uses mod_rewrite and rewrite requested URI:
mod_rewrite
The text was updated successfully, but these errors were encountered:
I'll have to read the CGI & HTTP to figure this out. I'd rather follow those specs. I don't know off the top of my head
Sorry, something went wrong.
Thank you @rory . If you will decide not to change, could you discuss fix parse_request to return REQUEST_PATH in another way?
Successfully merging a pull request may close this issue.
I suggest using
REQUEST_PATH
instead ofSCRIPT_NAME
to get requested URI inparse_request
.https://github.com/rory/rust-cgi/blob/269b6680b84bc2645e89ec144f31bbc8b7a4bb2a/src/lib.rs#L235-L240
When the server uses
mod_rewrite
and rewrite requested URI:The text was updated successfully, but these errors were encountered: