Prevent from replacing double slashes with one in url
931373Apr 24 2012 — edited Apr 25 2012Hello every body,
I'm trying to send a post request to some url, but that url has double slashes (other than http://) in the middle, like
http://someDomain.labla.com//somethingWithParameters
server refuses my request. the reason is that java turns this url into
http://someDomain.labla.com/somethingWithParameters
some where in java, every double slashed url validates and turns into oneslashed.
How can i prevent this ?