markt       2004/08/15 08:46:29

  Modified:    catalina/src/share/org/apache/catalina/authenticator
                        DigestAuthenticator.java
  Log:
  Fix bug 22563. Remove quotes from nc token in digest header if present.
  It is debateable whether it is allowable to quote this token but the spec is not
  (in my view) 100% clear and at least one client DreamWeaver quotes this
  token.
  
  Revision  Changes    Path
  1.14      +5 -5      
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/authenticator/DigestAuthenticator.java
  
  Index: DigestAuthenticator.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/authenticator/DigestAuthenticator.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- DigestAuthenticator.java  22 Apr 2004 21:47:58 -0000      1.13
  +++ DigestAuthenticator.java  15 Aug 2004 15:46:29 -0000      1.14
  @@ -339,7 +339,7 @@
               if ("nonce".equals(currentTokenName))
                   nOnce = removeQuotes(currentTokenValue);
               if ("nc".equals(currentTokenName))
  -                nc = currentTokenValue;
  +                nc = removeQuotes(currentTokenValue);
               if ("cnonce".equals(currentTokenName))
                   cnonce = removeQuotes(currentTokenValue);
               if ("qop".equals(currentTokenName))
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to