1 2 Previous Next 16 Replies Latest reply: Apr 25, 2012 1:33 AM by EJP RSS

    Prevent from replacing double slashes with one in url

    931373
      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