Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf15a46a

Browse files
author
oleksiys
committed
[1.8.x] use getRawPath() to preserve %xx url encoded symbols
1 parentd7c930b commitf15a46a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/main/java/com/ning/http/client/providers/grizzly/GrizzlyAsyncHttpProvider.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -895,12 +895,12 @@ private boolean sendAsGrizzlyRequest(final Request request,
895895
builder.method(Method.CONNECT);
896896
builder.uri(AsyncHttpProviderUtils.getAuthority(uri));
897897
}elseif ((secure ||httpCtx.isWSRequest) &&config.isUseRelativeURIsWithConnectProxies()){
898-
builder.uri(uri.getPath());
898+
builder.uri(uri.getRawPath());
899899
}else {
900900
builder.uri(uri.toString());
901901
}
902902
}else {
903-
builder.uri(uri.getPath());
903+
builder.uri(uri.getRawPath());
904904
}
905905

906906
finalBodyHandlerbodyHandler =isPayloadAllowed(method) ?

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp