commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r156690 - jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/auth/NTLMScheme.java
Date Wed, 09 Mar 2005 21:40:32 GMT
Author: olegk
Date: Wed Mar  9 13:40:30 2005
New Revision: 156690

URL: http://svn.apache.org/viewcvs?view=rev&rev=156690
Log:
PR #33856 (Authentication fails when connecting to server with username and password in non
ascii characters)

Contributed by Oleg Kalnichevski
Reviewed by Michael Becke

Modified:
    jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/auth/NTLMScheme.java

Modified: jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/auth/NTLMScheme.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/auth/NTLMScheme.java?view=diff&r1=156689&r2=156690
==============================================================================
--- jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/auth/NTLMScheme.java
(original)
+++ jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/auth/NTLMScheme.java
Wed Mar  9 13:40:30 2005
@@ -333,6 +333,7 @@
                     + credentials.getClass().getName());
         }
         NTLM ntlm = new NTLM();
+        ntlm.setCredentialCharset(method.getParams().getCredentialCharset());
         String response = null;
         if (this.state == INITIATED || this.state == FAILED) {
             response = ntlm.getType1Message(



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message