From: Roy T. Fielding Date: Tue, 13 May 2008 02:51:06 +0000 (+0000) Subject: gen_test_char: add double-quote to the list of T_HTTP_TOKEN_STOP. X-Git-Tag: 2.3.0~636 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8b84c1a8aa8064c7c3480ecdafe1ebc309ec7a78;p=apache gen_test_char: add double-quote to the list of T_HTTP_TOKEN_STOP. PR: 9727 Submitted by: Ville Skytt git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@655714 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index faf4cedf96..4ad56af7b9 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ Changes with Apache 2.3.0 [ When backported to 2.2.x, remove entry from this file ] + *) gen_test_char: add double-quote to the list of T_HTTP_TOKEN_STOP. + PR 9727 [Ville Skytt ] + *) suexec: When group is given as a numeric gid, validate it by looking up the actual group name such that the name can be used in log entries. PR 7862 [, Leif W ] diff --git a/server/gen_test_char.c b/server/gen_test_char.c index 587583aed6..59947d5888 100644 --- a/server/gen_test_char.c +++ b/server/gen_test_char.c @@ -90,8 +90,8 @@ int main(int argc, char *argv[]) flags |= T_OS_ESCAPE_PATH; } - /* these are the "tspecials" from RFC2068 */ - if (c && (apr_iscntrl(c) || strchr(" \t()<>@,;:\\/[]?={}", c))) { + /* these are the "tspecials" (RFC2068) or "separators" (RFC2616) */ + if (c && (apr_iscntrl(c) || strchr(" \t()<>@,;:\\\"/[]?={}", c))) { flags |= T_HTTP_TOKEN_STOP; }