-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't be tricked by anchors containing a question mark, close #1455
Motivation: AHC can be tricked into connecting to a different host. Modification: * Make sure we don’t interpret `?` in the anchor as the beginning of the query and the end of the path. * Update tests to check org.asynchttpclient.uri.Uri returns the same results as java.net.URI. Result: AHC no longer tricked by anchors containing question mark.
- Loading branch information
Showing
3 changed files
with
211 additions
and
323 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.