Update https-to-http-redirect.yaml
Added using meta refresh to create an instant client-side redirectpatch-2
parent
273f4aa531
commit
590cb2666f
|
@ -16,6 +16,7 @@ http:
|
|||
path:
|
||||
- "{{BaseURL}}"
|
||||
|
||||
matchers-condition: or
|
||||
matchers:
|
||||
- type: dsl
|
||||
dsl:
|
||||
|
@ -23,4 +24,11 @@ http:
|
|||
- 'startswith(tostring(BaseURL), "https://")'
|
||||
- '(status_code == 300 || status_code == 301 || status_code == 302 || status_code == 303 || status_code == 307 || status_code == 308)'
|
||||
condition: and
|
||||
# digest: 4a0a00473045022100b9fde0b93319dcf6c7deda7cbca2fc520ef1dfb694e8756f6f04cdfb585c070e02205737762ea399cbcdaf947d7a6e394df2676b64d3e867497034ce78ba661eb683:32bd8904a85baa2268cd2e24368f3b1a
|
||||
|
||||
- type: dsl
|
||||
dsl:
|
||||
- 'startswith(tostring(BaseURL), "https://")'
|
||||
- 'status_code == 200'
|
||||
- 'contains(tolower(body), "<meta http-equiv=\"refresh\" content=\"0; url=http://")'
|
||||
condition: and
|
||||
# digest: 4b0a0048304602210095c09fe6d8f15bcb97731bcc870184de2350c35ab0db26b19fc3bbced9862e7b022100fbe5cddc9cf4e2d70fc2e700dbe0c90a05e20536b932ac17e44bb0b83d7edf8c:32bd8904a85baa2268cd2e24368f3b1a
|
||||
|
|
Loading…
Reference in New Issue