mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Small fix on @detectXSS test case
This commit is contained in:
parent
85ecd190d9
commit
7c50fa7c00
@ -22,7 +22,7 @@
|
|||||||
"uri":"/",
|
"uri":"/",
|
||||||
"method":"POST",
|
"method":"POST",
|
||||||
"body": [
|
"body": [
|
||||||
"param1=<script>alert(1)</script¶m2=value2"
|
"param1=<script>alert(1)<\/script¶m2=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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user