tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1405364 - /tomcat/trunk/test/org/apache/catalina/authenticator/TestDigestAuthenticator.java
Date Sat, 03 Nov 2012 15:40:21 GMT
Author: markt
Date: Sat Nov  3 15:40:21 2012
New Revision: 1405364

URL: http://svn.apache.org/viewvc?rev=1405364&view=rev
Log:
Fix broken test (qop and nc are *not* quoted)

Modified:
    tomcat/trunk/test/org/apache/catalina/authenticator/TestDigestAuthenticator.java

Modified: tomcat/trunk/test/org/apache/catalina/authenticator/TestDigestAuthenticator.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/authenticator/TestDigestAuthenticator.java?rev=1405364&r1=1405363&r2=1405364&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/authenticator/TestDigestAuthenticator.java (original)
+++ tomcat/trunk/test/org/apache/catalina/authenticator/TestDigestAuthenticator.java Sat Nov
 3 15:40:21 2012
@@ -341,14 +341,13 @@ public class TestDigestAuthenticator ext
         auth.append(md5response);
         auth.append("\"");
         if (qop != null) {
-            auth.append(", qop=\"");
+            auth.append(", qop=");
             auth.append(qop);
-            auth.append("\"");
+            auth.append("");
         }
         if (nc != null) {
-            auth.append(", nc=\"");
+            auth.append(", nc=");
             auth.append(nc);
-            auth.append("\"");
         }
         if (cnonce != null) {
             auth.append(", cnonce=\"");



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


Mime
View raw message