Skip to content

Commit 00c2191

Browse files
hyperxproCopilot
andauthored
Update client/src/main/java/org/asynchttpclient/netty/handler/intercept/Redirect30xInterceptor.java
Co-authored-by: Copilot <[email protected]>
1 parent f768df2 commit 00c2191

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/main/java/org/asynchttpclient/netty/handler/intercept/Redirect30xInterceptor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ private static HttpHeaders propagatedHeaders(Request request, Realm realm, boole
190190
headers.remove(CONTENT_TYPE);
191191
}
192192

193-
if (stripAuthorization || realm != null && realm.getScheme() == AuthScheme.NTLM) {
193+
if (stripAuthorization || (realm != null && realm.getScheme() == AuthScheme.NTLM)) {
194194
headers.remove(AUTHORIZATION)
195195
.remove(PROXY_AUTHORIZATION);
196196
}

0 commit comments

Comments
 (0)