This discussion is archived
1 2 Previous Next 16 Replies Latest reply: Apr 24, 2012 11:33 PM by EJP RSS

Prevent from replacing double slashes with one in url

931373 Explorer
Currently Being Moderated
Hello 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 ?
1 2 Previous Next

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points