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 06c58c6 commit 4f421a0Copy full SHA for 4f421a0
client/src/main/java/org/asynchttpclient/ntlm/NtlmEngine.java
@@ -150,12 +150,12 @@ private static String stripDotSuffix(final String value) {
150
151
/** Convert host to standard form */
152
private static String convertHost(final String host) {
153
- return stripDotSuffix(host).toUpperCase();
+ return host != null ? stripDotSuffix(host).toUpperCase() : null;
154
}
155
156
/** Convert domain to standard form */
157
private static String convertDomain(final String domain) {
158
- return stripDotSuffix(domain).toUpperCase();
+ return domain != null ? stripDotSuffix(domain).toUpperCase() : null;
159
160
161
private static int readULong(final byte[] src, final int index) throws NtlmEngineException {
0 commit comments