Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace whitespaces by "%20" in urls on redirects and .connect(String) #354

Closed
wants to merge 6 commits into from

Conversation

d0x
Copy link

@d0x d0x commented Aug 21, 2013

The two new Unittests show that there are problems if the url contains decoded whitespaces " ".
Like: "http://try.jsoup.org/#with whitespaces"
Proposed Fix: The encodeUrl(String url) should replace " " by "%20".

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

Related issues:

@ghost ghost assigned jhy Oct 6, 2013
@jhy jhy closed this in d118ca5 Nov 11, 2013
@jhy
Copy link
Owner

jhy commented Nov 11, 2013

Thanks for this! Merged.

@jhy
Copy link
Owner

jhy commented Nov 11, 2013

Your merged commit is c765b81

zazi pushed a commit to dswarm/jsoup that referenced this pull request Oct 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants