Paw-cURLImporter icon indicating copy to clipboard operation
Paw-cURLImporter copied to clipboard

PR #8 Breaks Valid Unicode in HTTP Body

Open kevinastone opened this issue 9 years ago • 1 comments

#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

kevinastone avatar Feb 10 '16 22:02 kevinastone

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

qqilihq avatar Feb 17 '20 10:02 qqilihq