]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
*) test modules/http1, add testing field value with just whitespace.
authorStefan Eissing <icing@apache.org>
Sat, 22 Oct 2022 10:37:25 +0000 (10:37 +0000)
committerStefan Eissing <icing@apache.org>
Sat, 22 Oct 2022 10:37:25 +0000 (10:37 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1904776 13f79535-47bb-0310-9956-ffa450edef68

test/modules/http1/test_007_strict.py

index 784e77b9fdc44d63f03c3d0e05d9e995adb0f99b..7eee027a6f2fe6f92b2e8a7ba8c4b00bbee8565d 100644 (file)
@@ -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'