Skip to content

Percent encoding user info fix #521

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
Apr 3, 2014
Merged

Conversation

kelvl
Copy link

@kelvl kelvl commented Apr 3, 2014

RequestBuilderBase's toURI has a bug which fails to handle percent-encoded userinfo.

This change fixes toURI to use getRawAuthority instead of getAuthority to pass down the percent encoded userinfo when constructing the new URI

slandelle pushed a commit that referenced this pull request Apr 3, 2014
Percent encoding user info fix
@slandelle slandelle merged commit 8b996a8 into AsyncHttpClient:1.8.x Apr 3, 2014
slandelle pushed a commit that referenced this pull request Apr 3, 2014
@slandelle slandelle added Defect and removed Defect labels Apr 3, 2014
@slandelle slandelle added this to the 1.8.5 milestone Apr 3, 2014
@slandelle slandelle self-assigned this Apr 3, 2014
@slandelle
Copy link
Contributor

Thanks!

cs-workco pushed a commit to cs-workco/async-http-client that referenced this pull request Apr 13, 2023
In async tests, we need to wait for events that happen on the async executor. We can use ConditionLocks to wait for async events to happen while using a synchronous invocation model in the tests. In this pr we restructure `MockRequestExecutor` to use `ConditionLock`s where appropiate.
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.

2 participants