Hi,
Recently I copy/pasted a curl command from somewhere and dropped it into a 
terminal. It looked something like this:

 

curl -i https://postman-echo.com/post -d “foo=bar1&foo2=bar2”
It failed in bizarre way, and I couldn't figure out what was going on. Finally 
a colleague  suggested that 'smart quotes' may be to blame, and indeed they 
were.
I polled a couple of colleagues and they had also been bitten by this issue in 
the past.
So I'm wondering, would there be openness to adding a warning to curl, if it 
sees smart quotes on the command line, that it would say something to the user? 
I'd be willing to try a PR if there is agreement to try to implement this.
thanks for your input!


-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to