You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2004/08/15 17:48:59 UTC

cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator DigestAuthenticator.java

markt       2004/08/15 08:48:59

  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.
   - Ported from TC4.
  
  Revision  Changes    Path
  1.11      +2 -2      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/DigestAuthenticator.java
  
  Index: DigestAuthenticator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/DigestAuthenticator.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- DigestAuthenticator.java	15 Jul 2004 14:36:46 -0000	1.10
  +++ DigestAuthenticator.java	15 Aug 2004 15:48:59 -0000	1.11
  @@ -293,7 +293,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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org