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

net/http/cgi: ServeHTTP sets an incorrect value for SCRIPT_NAME #10220

Closed
urandom opened this issue Mar 23, 2015 · 0 comments
Closed

net/http/cgi: ServeHTTP sets an incorrect value for SCRIPT_NAME #10220

urandom opened this issue Mar 23, 2015 · 0 comments

Comments

@urandom
Copy link

urandom commented Mar 23, 2015

The SCRIPT_NAME variable is set as the cgi-bin root url path, instead of the actual script url path.

"SCRIPT_NAME=" + root,

Unless the Root property of the handler is supposed to be the actual path to the script, as opposed to the dir path. It wasn't very clear for me.

@urandom urandom closed this as completed Mar 23, 2015
@mikioh mikioh changed the title net/http/cgi.ServeHTTP sets an incorrect value for SCRIPT_NAME net/http/cgi: ServeHTTP sets an incorrect value for SCRIPT_NAME Mar 23, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants