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
base: master
from

Conversation

Projects
None yet
2 participants
@orangetw
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 some commits Oct 1, 2015

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

@bagder

This comment has been minimized.

Member

bagder commented Oct 1, 2015

Thanks a lot!

jgsogo added a commit to jgsogo/curl that referenced this pull request Oct 19, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment