httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r1772238 - /httpd/test/framework/trunk/t/apache/headers.t
Date Thu, 01 Dec 2016 16:45:50 GMT
Author: wrowe
Date: Thu Dec  1 16:45:50 2016
New Revision: 1772238

URL: http://svn.apache.org/viewvc?rev=1772238&view=rev
Log:
Drop bad header name token whitespace, validate OBS-fold whitespace compression

Modified:
    httpd/test/framework/trunk/t/apache/headers.t

Modified: httpd/test/framework/trunk/t/apache/headers.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/apache/headers.t?rev=1772238&r1=1772237&r2=1772238&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/apache/headers.t (original)
+++ httpd/test/framework/trunk/t/apache/headers.t Thu Dec  1 16:45:50 2016
@@ -6,16 +6,16 @@ use Apache::TestUtil;
 use Apache::TestRequest;
 
 my %headers;
-if (have_min_apache_version("2.5.0")) {
+if (have_min_apache_version("2.4.24")) {
     %headers = (
                "Hello:World\r\n" => ["Hello", "World"],
-#              "Hello  :  World\r\n" => ["Hello", "World"],
-#              "Hello  :  World   \r\n" => ["Hello", "World"],
-#              "Hello \t :  World  \r\n" => ["Hello", "World"],
+               "Hello:  World\r\n" => ["Hello", "World"],
+               "Hello:  World   \r\n" => ["Hello", "World"],
+               "Hello:  World \t \r\n" => ["Hello", "World"],
                "Hello: Foo\r\n Bar\r\n" => ["Hello", "Foo Bar"],
                "Hello: Foo\r\n\tBar\r\n" => ["Hello", "Foo Bar"],
-               "Hello: Foo\r\n    Bar\r\n" => ["Hello", qr/Foo +Bar/],
-               "Hello: Foo \r\n Bar\r\n" => ["Hello", qr/Foo +Bar/],
+               "Hello: Foo\r\n    Bar\r\n" => ["Hello", "Foo Bar"],
+               "Hello: Foo \t \r\n Bar\r\n" => ["Hello", "Foo Bar"],
                );
 }
 else {



Mime
View raw message