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

PR #8 Breaks Valid Unicode in HTTP Body #9

Open
kevinastone opened this issue Feb 10, 2016 · 1 comment
Open

PR #8 Breaks Valid Unicode in HTTP Body #9

kevinastone opened this issue Feb 10, 2016 · 1 comment

Comments

@kevinastone
Copy link

#8 breaks legitimate unicode quotes that were in the body:

curl -X "POST" "http://example.com" \
    -F 'token=abcdefg' \
    -F 'description=Ain’t this a problem'

untitled

@qqilihq
Copy link

qqilihq commented Feb 17, 2020

I just experienced this as well:

curl 'http://example.com' -X PUT --data-binary $'{"foo":"bar’s"}' --compressed

The (note, that this is a “curly” single quote) obviously causes the parser to stop, and I get this result:

Bildschirmfoto 2020-02-17 um 11 25 54

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

2 participants