httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r1756748 - in /httpd/test/framework/trunk/t: apache/http_strict.t conf/extra.conf.in
Date Thu, 18 Aug 2016 09:24:14 GMT
Author: wrowe
Date: Thu Aug 18 09:24:14 2016
New Revision: 1756748

URL: http://svn.apache.org/viewvc?rev=1756748&view=rev
Log:
Operating in the strictest mode, two new 400 results after r1756730

Modified:
    httpd/test/framework/trunk/t/apache/http_strict.t
    httpd/test/framework/trunk/t/conf/extra.conf.in

Modified: httpd/test/framework/trunk/t/apache/http_strict.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/apache/http_strict.t?rev=1756748&r1=1756747&r2=1756748&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/apache/http_strict.t (original)
+++ httpd/test/framework/trunk/t/apache/http_strict.t Thu Aug 18 09:24:14 2016
@@ -16,8 +16,9 @@ my @test_cases = (
     [ "GET / HTTP/1.0\r\n\r\n"                      => 1],
     [ "GET / HTTP/1.0\n\n"                          => 1],
     [ "get / HTTP/1.0\r\n\r\n"                      => 501],
-    [ "G ET / HTTP/1.0\r\n\r\n"                     => 0],
+    [ "G ET / HTTP/1.0\r\n\r\n"                     => 400],
     [ "G\0ET / HTTP/1.0\r\n\r\n"                    => 400],
+    [ "G/T / HTTP/1.0\r\n\r\n"                      => 400],
     [ "GET /\0 HTTP/1.0\r\n\r\n"                    => 400],
     [ "GET / HTTP/1.0\0\r\n\r\n"                    => 400],
     [ "GET / HTT/1.0\r\n\r\n"                       => 0],

Modified: httpd/test/framework/trunk/t/conf/extra.conf.in
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/conf/extra.conf.in?rev=1756748&r1=1756747&r2=1756748&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/conf/extra.conf.in (original)
+++ httpd/test/framework/trunk/t/conf/extra.conf.in Thu Aug 18 09:24:14 2016
@@ -970,7 +970,7 @@ LimitRequestFields    32
   <IfVersion >= 2.5.0>
     <VirtualHost _default_:http_strict>
       DocumentRoot @SERVERROOT@/htdocs/
-      HttpProtocolOptions strict
+      HttpProtocolOptions Strict Require1.0 StrictWhitespace RegisteredMethods
       <Directory @SERVERROOT@/htdocs/apache/http_strict>
         Options +ExecCGI
         AddHandler cgi-script .pl



Mime
View raw message