You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2022/10/22 10:37:25 UTC

svn commit: r1904776 - /httpd/httpd/trunk/test/modules/http1/test_007_strict.py

Author: icing
Date: Sat Oct 22 10:37:25 2022
New Revision: 1904776

URL: http://svn.apache.org/viewvc?rev=1904776&view=rev
Log:
  *) test modules/http1, add testing field value with just whitespace.


Modified:
    httpd/httpd/trunk/test/modules/http1/test_007_strict.py

Modified: httpd/httpd/trunk/test/modules/http1/test_007_strict.py
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/test/modules/http1/test_007_strict.py?rev=1904776&r1=1904775&r2=1904776&view=diff
==============================================================================
--- httpd/httpd/trunk/test/modules/http1/test_007_strict.py (original)
+++ httpd/httpd/trunk/test/modules/http1/test_007_strict.py Sat Oct 22 10:37:25 2022
@@ -76,6 +76,7 @@ class TestRequestStrict:
         ['"          123"', '123', 200],  # leading spaces are stripped
         ['"\t123"', '123', 200],       # leading tab is stripped
         ['"expr=%{unescape:123%0A 123}"', '', 500],  # illegal char
+        ['" \t "', '', 200],           # just ws
     ])
     def test_h1_007_02(self, env, hvalue, expvalue, status):
         hname = 'ap-test-007'