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) {
150150
151151 /** Convert host to standard form */
152152 private static String convertHost (final String host ) {
153- return stripDotSuffix (host ).toUpperCase ();
153+ return host != null ? stripDotSuffix (host ).toUpperCase () : null ;
154154 }
155155
156156 /** Convert domain to standard form */
157157 private static String convertDomain (final String domain ) {
158- return stripDotSuffix (domain ).toUpperCase ();
158+ return domain != null ? stripDotSuffix (domain ).toUpperCase () : null ;
159159 }
160160
161161 private static int readULong (final byte [] src , final int index ) throws NtlmEngineException {
You can’t perform that action at this time.
0 commit comments