httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject cvs commit: apache-1.3/src/modules/standard mod_digest.c
Date Thu, 23 Jan 2003 10:50:52 GMT
martin      2003/01/23 02:50:52

  Modified:    src/modules/standard mod_digest.c
  Log:
  No need to treat EBCDIC differently.
  
  Revision  Changes    Path
  1.51      +1 -11     apache-1.3/src/modules/standard/mod_digest.c
  
  Index: mod_digest.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/modules/standard/mod_digest.c,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- mod_digest.c	10 Sep 2002 16:38:31 -0000	1.50
  +++ mod_digest.c	23 Jan 2003 10:50:51 -0000	1.51
  @@ -217,8 +217,6 @@
        *   response/entity-digest
        *   --> We ignore the presense of the " if any.
        *
  -     * Note: * - not yet for  CHARSET_EBCDIC XXXX
  -     *
        * Note: There is an inherent problem with the request URI; as it should
        *       be used unquoted - yet may contain a ',' - which is used as
        *       a terminator:       
  @@ -254,26 +252,18 @@
   	    break;
   
   	case D_VALUE:
  -#ifdef CHARSET_EBCDIC
  -	    /* This is *wrong* - a request URI may be unquoted and yet
  +	    /* A request URI may be unquoted and yet
                * contain non alpha/num chars. (Though gets terminated by 
                * a ',' - which in fact may be in the URI - so I guess 
                * 2069 should be updated to suggest strongly to quote).
                */
  -	    if (ap_isalnum(auth_line[0])) {
  -		value[vv] = auth_line[0];
  -		vv++;
  -	    } else
  -#endif
   	    if (auth_line[0] == '\"') {
   		s = D_STRING;
   	    }
  -#ifndef CHARSET_EBCDIC
   	    else if ((auth_line[0] != ',') && (auth_line[0] != ' ') && (auth_line[0]
!= '\0')) {
   		value[vv] = auth_line[0];
   		vv++;
   	    }
  -#endif
   	    else {
   		value[vv] = '\0';
   
  
  
  

Mime
View raw message