title: Passing a URL with brackets to curl
body: <p>If I try to pass a URL to curl that contains brackets, it fails with an error:</p>
  <pre><code>$ curl 'http://www.google.com/?TEST[]=1'
  curl: (3) [globbing] illegal character in range specification at pos 29
  </code></pre>
  <p>However, if I escape both brackets, it appears to work:</p>
  <pre><code>$ curl 'http://www.google.com/?TEST\[\]=1'
  </code></pre>
  <p>How do I fix this? Is there an argument that will escape URLs automatically, or a description of the characters that need to be escaped before passing to curl?</p>