fix redirect regex to match URI with ports and multiple nested routes

patch-1
Valerio Preti 2022-07-24 10:53:36 +02:00
parent f0098b52b4
commit 2cb82efd0b
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ requests:
matchers:
- type: regex
regex:
- '(?i)Location: http(s|):\/\/[\w\.\-]+(\/ar|\/en|)\/users\/\w+'
- '(?i)Location: https?:\/\/[\w\.\-]+[:\/\w-]*\/users\/\w+'
part: header
- type: status