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.
This commit is contained in:
parent
d93a00861d
commit
069d0e221e
|
@ -127,6 +127,7 @@ haproxy h1 -conf {
|
||||||
|
|
||||||
frontend fe_fragment_strip
|
frontend fe_fragment_strip
|
||||||
bind "fd@${fe_fragment_strip}"
|
bind "fd@${fe_fragment_strip}"
|
||||||
|
option accept-invalid-http-request
|
||||||
|
|
||||||
http-request set-var(txn.before) url
|
http-request set-var(txn.before) url
|
||||||
http-request normalize-uri fragment-strip
|
http-request normalize-uri fragment-strip
|
||||||
|
@ -139,6 +140,7 @@ haproxy h1 -conf {
|
||||||
|
|
||||||
frontend fe_fragment_encode
|
frontend fe_fragment_encode
|
||||||
bind "fd@${fe_fragment_encode}"
|
bind "fd@${fe_fragment_encode}"
|
||||||
|
option accept-invalid-http-request
|
||||||
|
|
||||||
http-request set-var(txn.before) url
|
http-request set-var(txn.before) url
|
||||||
http-request normalize-uri fragment-encode
|
http-request normalize-uri fragment-encode
|
||||||
|
|
Loading…
Reference in New Issue