mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Adjust tests for @inspectFile operator
This commit is contained in:
parent
138e301695
commit
601e0d7040
@ -19,7 +19,7 @@
|
|||||||
"Content-Length": "27",
|
"Content-Length": "27",
|
||||||
"Content-Type": "application/x-www-form-urlencoded"
|
"Content-Type": "application/x-www-form-urlencoded"
|
||||||
},
|
},
|
||||||
"uri":"/whee?res=0",
|
"uri":"/whee?res=1",
|
||||||
"method":"GET",
|
"method":"GET",
|
||||||
"body": [ ]
|
"body": [ ]
|
||||||
},
|
},
|
||||||
@ -57,7 +57,7 @@
|
|||||||
"Content-Length": "27",
|
"Content-Length": "27",
|
||||||
"Content-Type": "application/x-www-form-urlencoded"
|
"Content-Type": "application/x-www-form-urlencoded"
|
||||||
},
|
},
|
||||||
"uri":"/whee?res=1",
|
"uri":"/whee?res=0",
|
||||||
"method":"GET",
|
"method":"GET",
|
||||||
"body": [ ]
|
"body": [ ]
|
||||||
},
|
},
|
||||||
@ -106,7 +106,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"expected":{
|
"expected":{
|
||||||
"debug_log":"Rule returned 0."
|
"debug_log":"Rule returned 1."
|
||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user