How to force wget to not URL-encode?

url-encoding, wget

Solution

So `curl` does not automatically URL-encode parameters in a GET request. This doesn't totally answer my question, but it does give me another option. This:

curl 'http://www.foo.com/bar.cgi?param="p"'

does the trick.

Problem

This seems like it should be simple, but I'm having trouble figuring it out. I want to send a `wget` request similar to the following, ``` wget http://www.foo.com/bar.cgi?param=\"p\" ``` but I don't want it to URL-encode the quotes (or anything else, for that matter). Is this possible? And just to make it clear, I am a) dealing with a server that doesn't URL-decode -- nothing I can do about that -- and b) aware that I can do this with a Python script, or Burp, or many other things. I just need to know if `wget` can do it. Thanks!

Original source