mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +03:00
Small fix on @detectXSS test case
This commit is contained in:
parent
85ecd190d9
commit
7c50fa7c00
@ -22,7 +22,7 @@
|
||||
"uri":"/",
|
||||
"method":"POST",
|
||||
"body": [
|
||||
"param1=<script>alert(1)</script¶m2=value2"
|
||||
"param1=<script>alert(1)<\/script¶m2=value2"
|
||||
]
|
||||
},
|
||||
"response":{
|
||||
@ -36,7 +36,7 @@
|
||||
]
|
||||
},
|
||||
"expected":{
|
||||
"debug_log":"Added DetectXSS match TX.0: <script>alert\(1\)</script"
|
||||
"debug_log":"Added DetectXSS match TX.0: <script>alert"
|
||||
},
|
||||
"rules":[
|
||||
"SecRuleEngine On",
|
||||
|
Loading…
x
Reference in New Issue
Block a user