]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r655714 from trunk:
authorJim Jagielski <jim@apache.org>
Tue, 13 May 2008 20:34:00 +0000 (20:34 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 13 May 2008 20:34:00 +0000 (20:34 +0000)
gen_test_char: add double-quote to the list of T_HTTP_TOKEN_STOP.

PR: 9727
Submitted by: Ville Skytt <ville.skytta iki.fi>

Submitted by: fielding
Reviewed by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@656000 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
server/gen_test_char.c

diff --git a/CHANGES b/CHANGES
index dc16438a190e6a1f4083fb32371bf74da0e2acb1..2728beaccc69245e8f9da4811e722d4652c9bdfc 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.2.9
 
+  *) gen_test_char: add double-quote to the list of T_HTTP_TOKEN_STOP.
+     PR 9727 [Ville Skytt <ville.skytta iki.fi>]
+
   *) core: reinstate location walk to fix config for subrequests
      PR 41960 [Jose Kahan <jose w3.org>]
 
index 587583aed60953865dd1fa8121f143578f0b71c8..59947d5888c3a21e579a0b7df299da4d6bb28ed5 100644 (file)
@@ -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;
         }