From 069d0e221e58a46119d7c049bb07fa4bcb8d0075 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 8 Aug 2023 19:52:45 +0200 Subject: [PATCH] REGTESTS: http-rules: add accept-invalid-http-request for normalize-uri tests We'll soon block the '#' by default so let's prepare the test to continue to work. --- reg-tests/http-rules/normalize_uri.vtc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reg-tests/http-rules/normalize_uri.vtc b/reg-tests/http-rules/normalize_uri.vtc index 82c810718..34905eaf9 100644 --- a/reg-tests/http-rules/normalize_uri.vtc +++ b/reg-tests/http-rules/normalize_uri.vtc @@ -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