]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
No need to treat EBCDIC differently.
authorMartin Kraemer <martin@apache.org>
Thu, 23 Jan 2003 10:50:51 +0000 (10:50 +0000)
committerMartin Kraemer <martin@apache.org>
Thu, 23 Jan 2003 10:50:51 +0000 (10:50 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98468 13f79535-47bb-0310-9956-ffa450edef68

src/modules/standard/mod_digest.c

index 26e1db0cc2ec6ed539c5d237b38d13243620d490..925a48d62929c7921fc9d878998cf923f767f64e 100644 (file)
@@ -217,8 +217,6 @@ static int get_digest_rec(request_rec *r, digest_header_rec * response)
      *   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 @@ static int get_digest_rec(request_rec *r, digest_header_rec * response)
            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';