Skip to content

Fix handling of multiple double dots above root in parsing of relative URI #752

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

Merged
merged 1 commit into from
Oct 31, 2014

Conversation

janwe
Copy link
Contributor

@janwe janwe commented Oct 30, 2014

Attempt to fix #751.

I encountered this error through usage of Gatling on a page which in some cases produced resource URLs like the ones mentioned in the issue. Although one may argue that such URLs should not be present on a page, it poses a problem in that Gatling just appears to hang (when AHC enters its infinite loop).

Due to its usage in Gatling, I think this fix should probably be merged to the 1.9.x branch as well.

@slandelle
Copy link
Contributor

Thanks! I'll release Gatling 2.0.2 on monday with this fix!

slandelle pushed a commit that referenced this pull request Oct 31, 2014
Fix handling of multiple double dots above root in parsing of relative URI, close #751
@slandelle slandelle merged commit a377b17 into AsyncHttpClient:master Oct 31, 2014
@slandelle slandelle added this to the 1.9.0 milestone Oct 31, 2014
@slandelle slandelle self-assigned this Oct 31, 2014
@janwe
Copy link
Contributor Author

janwe commented Oct 31, 2014

Great! Looking forward to new Gatling release.

@janwe janwe deleted the fix-uri-parser branch October 31, 2014 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parsing of relative URIs multiple levels above root enters infinite loop
2 participants