Test case skeleton for #1941

This commit is contained in:
Felipe Zimmerle
2018-10-27 01:29:03 -03:00
parent 662fe63a47
commit 3f0ea90970
8 changed files with 2805 additions and 2696 deletions

View File

@@ -0,0 +1,44 @@
[
{
"enabled": 1,
"version_min": 209000,
"version_max": -1,
"title": "Failed to load locate the unicode map file from: ... 1/n",
"url": "https:\/\/github.com\/SpiderLabs\/ModSecurity\/issues\/1941",
"expected": {
"parser_error": "Failed to locate the unicode map file from: does-not-exist-unicode.mapping"
},
"rules": [
"SecRuleEngine On",
"SecUnicodeMapFile does-not-exist-unicode.mapping 20127"
]
},
{
"enabled": 1,
"version_min": 209000,
"version_max": -1,
"title": "Failed to load locate the unicode map file from: ... 2/n",
"url": "https:\/\/github.com\/SpiderLabs\/ModSecurity\/issues\/1941",
"expected": {
"parser_error": "Failed to locate the unicode map file from: um dois tres does-not-exist-unicode.mapping"
},
"rules": [
"SecRuleEngine On",
"SecUnicodeMapFile um dois tres does-not-exist-unicode.mapping 20127"
]
},
{
"enabled": 1,
"version_min": 209000,
"version_max": -1,
"title": "Failed to load locate the unicode map file from: ... 3/n",
"url": "https:\/\/github.com\/SpiderLabs\/ModSecurity\/issues\/1941",
"expected": {
"parser_error": "Invalid input: SecUnicodeMapFile does-not-exist-unicode.mapping eita"
},
"rules": [
"SecRuleEngine On",
"SecUnicodeMapFile does-not-exist-unicode.mapping eita"
]
}
]