Skip to content

Commit a5c75a4

Browse files
author
Stephane Landelle
committed
UriComponent doesn't properly handle ./ relative urls, close AsyncHttpClient#680
1 parent 40ae715 commit a5c75a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/main/java/org/asynchttpclient/uri/UriComponentsParser.java

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

201201
// /./
202202
private void removeEmbeddedDot() {
203-
path = path.replace("/./", "");
203+
path = path.replace("/./", "/");
204204
}
205205

206206
// /../

0 commit comments

Comments
 (0)