Small fix on @detectXSS test case

This commit is contained in:
Felipe Zimmerle 2018-10-04 15:02:38 -03:00
parent 85ecd190d9
commit 7c50fa7c00
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

@ -22,7 +22,7 @@
"uri":"/", "uri":"/",
"method":"POST", "method":"POST",
"body": [ "body": [
"param1=<script>alert(1)</script&param2=value2" "param1=<script>alert(1)<\/script&param2=value2"
] ]
}, },
"response":{ "response":{
@ -36,7 +36,7 @@
] ]
}, },
"expected":{ "expected":{
"debug_log":"Added DetectXSS match TX.0: <script>alert\(1\)</script" "debug_log":"Added DetectXSS match TX.0: <script>alert"
}, },
"rules":[ "rules":[
"SecRuleEngine On", "SecRuleEngine On",