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

environ PATH_INFO should be unquoted #24

Closed
leopay opened this issue Jan 6, 2011 · 5 comments
Closed

environ PATH_INFO should be unquoted #24

leopay opened this issue Jan 6, 2011 · 5 comments

Comments

@leopay
Copy link

leopay commented Jan 6, 2011

According to CGI/1.1, environ PATH_INFO should be unquoted

@jonashaag
Copy link
Owner

Could you please provide an example?

@yjfuk
Copy link

yjfuk commented Jan 6, 2011

e.g. the request url is http://domain.com/foo/%E6%B5%8B%E8%AF%95/ when pass PATH_INFO variable to wsgi environ,
environ['PATH_INFO'] = urllib.unquote('/foo/%E6%B5%8B%E8%AF%95/')
that is environ['PATH_INFO'] = '/foo/测试/'

@jonashaag
Copy link
Owner

Alright I'll have a look at other servers and if they do unquoting I'll try to implement that, too.

@jonashaag
Copy link
Owner

Closed by f298c4c: "Unquote PATH_INFO WSGI dict item"

@leopay
Copy link
Author

leopay commented Jan 7, 2011

I just update the source and test it, it is ok now.

thanks

This issue was closed.
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

3 participants