File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
client/src/main/java/org/asynchttpclient/ntlm Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -150,12 +150,12 @@ private static String stripDotSuffix(final String value) {
150
150
151
151
/** Convert host to standard form */
152
152
private static String convertHost (final String host ) {
153
- return stripDotSuffix (host ).toUpperCase ();
153
+ return host != null ? stripDotSuffix (host ).toUpperCase () : null ;
154
154
}
155
155
156
156
/** Convert domain to standard form */
157
157
private static String convertDomain (final String domain ) {
158
- return stripDotSuffix (domain ).toUpperCase ();
158
+ return domain != null ? stripDotSuffix (domain ).toUpperCase () : null ;
159
159
}
160
160
161
161
private static int readULong (final byte [] src , final int index ) throws NtlmEngineException {
You can’t perform that action at this time.
0 commit comments