Wget is truncating url inside docker image

I am trying to download few pdfs with wget inside docker image but it is not working. URLs are getting truncated after %23 which corresponds to # but the command is working perfectly fine outside docker image(I tried on my local machine and few servers).

For example the command wget 'http://www.scc.virginia.gov/docketsearch/DOCS/3%23yn01!.PDF' is downloading the correct pdf when run from outside of the docker image but when run inside docker image the output is

--2017-05-10 13:46:18--  http://www.scc.virginia.gov/docketsearch/DOCS/3
Resolving www.scc.virginia.gov (www.scc.virginia.gov)... 50.207.96.30
Connecting to www.scc.virginia.gov (www.scc.virginia.gov)|50.207.96.30|:80... connected.
HTTP request sent, awaiting response... 302 Found

It is truncating everything after 3
wget version is same on my local and inside docker image. I have RUN apt-get install --yes --force-yes wget in my dockerfile. Docker version is 1.11.2. What could be the issue? I would really appreciate any help from the community

Doesn’t seem like a Docker issue, more an OS issue. Can you use curl instead?