Disable CURL's globbing parser
March 23, 2018
Hey. Recently I’ve tried to CURL something like this:
and I got
[globbing] bad range in column error from CURL.
This one is unexpected since I was thinking that using single quotes
do not require any escaping. To find a workaround you can check
man curl and
So the solution is
curl -g 'http://localhost?q[param]=value'
Sure you can manually escape square brackets but if your url is pretty long it can take some time.