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

fix gopher don't send NUL byte bug #466

wants to merge 3 commits into from


Copy link

@orangetw orangetw commented Oct 1, 2015

I find that gopher scheme (gopher://) do not support NUL byte.
I read the source code and find that gopher.c use STRLEN(SEL) to process the URL-DECODED data.
But "curl_easy_unescape" already has specified OUTLENGTH. so I change the STRLEN(SEL) to OUTLENGTH.

@bagder bagder closed this in 5bf36ea Oct 1, 2015
Copy link

bagder commented Oct 1, 2015

Thanks a lot!

jgsogo pushed a commit to jgsogo/curl that referenced this pull request Oct 19, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants