Skip to content

Commit 80d0853

Browse files
author
Stephane Landelle
committed
UriComponent doesn't properly handle ./ relative urls, close AsyncHttpClient#680
1 parent 5bfa8b6 commit 80d0853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/ning/http/client/uri/UriComponentsParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ private void computeRegularHostPort() {
201201

202202
// /./
203203
private void removeEmbeddedDot() {
204-
path = path.replace("/./", "");
204+
path = path.replace("/./", "/");
205205
}
206206

207207
// /../

0 commit comments

Comments
 (0)