]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: http-rules: add accept-invalid-http-request for normalize-uri tests
authorWilly Tarreau <w@1wt.eu>
Tue, 8 Aug 2023 17:52:45 +0000 (19:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 Aug 2023 17:55:51 +0000 (19:55 +0200)
We'll soon block the '#' by default so let's prepare the test to continue
to work.

reg-tests/http-rules/normalize_uri.vtc

index 82c810718df18a26a79eb80440d59f97864724cd..34905eaf93ae62d6e5104e88f26f9cfecc74f6a8 100644 (file)
@@ -127,6 +127,7 @@ haproxy h1 -conf {
 
     frontend fe_fragment_strip
         bind "fd@${fe_fragment_strip}"
+        option accept-invalid-http-request
 
         http-request set-var(txn.before) url
         http-request normalize-uri fragment-strip
@@ -139,6 +140,7 @@ haproxy h1 -conf {
 
     frontend fe_fragment_encode
         bind "fd@${fe_fragment_encode}"
+        option accept-invalid-http-request
 
         http-request set-var(txn.before) url
         http-request normalize-uri fragment-encode