This discussion is archived
1 2 Previous Next 16 Replies Latest reply: Apr 24, 2012 11:33 PM by EJP Go to original post RSS
  • 15. Re: Prevent from replacing double slashes with one in url
    931373 Explorer
    Currently Being Moderated
    I thinks it is impossible to use apache httpComponents on this resolution.
    The best shot that i have is to use pure java library (HttpUrlConnection) and handle session and cookie myself
  • 16. Re: Prevent from replacing double slashes with one in url
    EJP Guru
    Currently Being Moderated
    The fact that he does not understand the rules, won't make my application working
    Your application doesn't work because there is a bug in the server. The solution to that is to fix the bug in the server. You may think that's difficult but believe me it is a lot more feasible than getting it fixed in Java, not least because there isn't an error in Java in the first place. And fixing it in your application code still won't fix it in the server, so every other application will continue to encounter the same problem, until someone somewhere decides to fix it in the place where it is actually broken. You might as well be that person.
1 2 Previous Next

Legend

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