Share the curl and paste it into postman
Before my change you get that one, which result in an invalid json header.
After my change you get that one, where the json is valid
:page_facing_up: Context
In our project/server we have a header that contain a JSON formatted text and every time someone try to use the curl from chucker the output curl is not working and result to errors. Having a JSON formatted value in header may seem strange but its not against any RFC.
:pencil: Changes
Fixed share of curl when header values contain quotes [#1211]
:paperclip: Related PR
No relations
:no_entry_sign: Breaking
No breaking changes
:hammer_and_wrench: How to test
Ideally with a curl that will have a header with quotes "
:camera: Screenshots
Share the curl and paste it into postman Before my change you get that one, which result in an invalid json header.
After my change you get that one, where the json is valid
:page_facing_up: Context
In our project/server we have a header that contain a JSON formatted text and every time someone try to use the curl from chucker the output curl is not working and result to errors. Having a JSON formatted value in header may seem strange but its not against any RFC.
:pencil: Changes
:paperclip: Related PR
No relations
:no_entry_sign: Breaking
No breaking changes
:hammer_and_wrench: How to test
Ideally with a curl that will have a header with quotes
"
:stopwatch: Next steps
No