Fix HTTP URI match conditions

This commit is contained in:
stefanprodan
2019-03-11 14:54:17 +02:00
parent 1cd0c49872
commit 881387e522
3 changed files with 17 additions and 4 deletions
+1 -1
View File
@@ -347,7 +347,7 @@ You can enable A/B testing by specifying the HTTP match conditions and the numbe
match:
- headers:
user-agent:
regex: "^(?!.*Chrome)(?=.*\bSafari\b).*$"
regex: "^(?!.*Chrome).*Safari.*"
- headers:
cookie:
regex: "^(.*?;)?(user=test)(;.*)?$"
+1 -1
View File
@@ -72,7 +72,7 @@ spec:
match:
- headers:
user-agent:
regex: "^(?!.*Chrome)(?=.*\bSafari\b).*$"
regex: "^(?!.*Chrome).*Safari.*"
- headers:
cookie:
regex: "^(.*?;)?(type=insider)(;.*)?$"