jhy/jsoup — pull request #354 by d0x (2013-08-21 23:51:18+00:00)
Title: Replaced whitespaces by "%20" in urls on redirects and .connect(String)

The two new Unittests show that they were problems if the url contains a decoded whitespaces " ".
Like: "http://try.jsoup.org/#with whitespaces"
Now the encodeUrl(String url) will replace those with "%20".

On redirects the user doesn't have any chance to handle this, so Jsoup should do it.

Related issues:
- http://stackoverflow.com/questions/18292919/giving-an-url-that-redirected-is-a-url-with-spaces-to-jsoup-leads-to-an-error
- https://github.com/jhy/jsoup/issues/114