Skip to content

Commit

Permalink
Small fix on @detectXSS test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe Zimmerle committed Oct 18, 2018
1 parent c9f9949 commit 058c0be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test-cases/regression/operator-detectxss.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"uri":"/",
"method":"POST",
"body": [
"param1=<script>alert(1)</script&param2=value2"
"param1=<script>alert(1)<\/script&param2=value2"
]
},
"response":{
Expand All @@ -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",
Expand Down

0 comments on commit 058c0be

Please sign in to comment.