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

Closed
wants to merge 3 commits into from

Conversation

@orangetw
Copy link
Contributor

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.

orangetw added 3 commits Oct 1, 2015
@bagder bagder closed this in 5bf36ea Oct 1, 2015
@bagder

This comment has been minimized.

Copy link
Member

bagder commented Oct 1, 2015

Thanks a lot!

jgsogo added 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.
Projects
None yet
2 participants
You can’t perform that action at this time.