We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee7d525 commit 3f8aac7Copy full SHA for 3f8aac7
client/src/main/java/org/asynchttpclient/ntlm/NtlmEngine.java
@@ -150,11 +150,17 @@ private static String stripDotSuffix(final String value) {
150
151
/** Convert host to standard form */
152
private static String convertHost(final String host) {
153
+ if (host == null) {
154
+ return null;
155
+ }
156
return stripDotSuffix(host).toUpperCase();
157
}
158
159
/** Convert domain to standard form */
160
private static String convertDomain(final String domain) {
161
+ if (domain == null) {
162
163
164
return stripDotSuffix(domain).toUpperCase();
165
166
0 commit comments