REGTESTS: http-rules: verify that we block '#' by default for normalize-uri
authorWilly Tarreau <w@1wt.eu>
Tue, 8 Aug 2023 17:53:51 +0000 (19:53 +0200)
committerAdrian Bunk <bunk@debian.org>
Tue, 29 Apr 2025 13:56:20 +0000 (16:56 +0300)
commit92d771c111ec160d23856827e1826612b82f4456
treedcfeb22bb733d1dc5ed34d382a2c830fc057ac6b
parent4dae382ee83f77a1b4ed53376a75abe0f25021db
REGTESTS: http-rules: verify that we block '#' by default for normalize-uri

Origin: https://git.haproxy.org/?p=haproxy-2.6.git;a=commit;h=b6b330eb117d520a890e5b3cd623eaa73479db1b

Since we now block fragments by default, let's add an extra test there
to confirm that it's blocked even when stripping it.

(cherry picked from commit 4d0175b54b2b4eeb01aa6e31282b0a5b0d7d8ace)
 [ad: backported to test conformance of BUG/MINOR: h1: do not accept '#'
  as part of the URI component]
Signed-off-by: Amaury Denoyelle <adenoyelle@haproxy.com>
(cherry picked from commit b3f26043df74c661155566a0abd56103e8116078)
Signed-off-by: Amaury Denoyelle <adenoyelle@haproxy.com>
(cherry picked from commit 41d161ccbbfa846b4b17ed0166ff08f6bf0c3ea1)
Signed-off-by: Amaury Denoyelle <adenoyelle@haproxy.com>
Gbp-Pq: Name REGTESTS-http-rules-verify-that-we-block-by-default-.patch
reg-tests/http-rules/normalize_uri.vtc