From: Martin Kraemer Date: Thu, 23 Jan 2003 10:50:51 +0000 (+0000) Subject: No need to treat EBCDIC differently. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3b8aa253f5081859de5db694c88d93465f80aaa;p=thirdparty%2Fapache%2Fhttpd.git No need to treat EBCDIC differently. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98468 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/modules/standard/mod_digest.c b/src/modules/standard/mod_digest.c index 26e1db0cc2e..925a48d6292 100644 --- a/src/modules/standard/mod_digest.c +++ b/src/modules/standard/mod_digest.c @@ -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';