mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Test case skeleton for #1941
This commit is contained in:
44
test/test-cases/regression/issue-1941.json
Normal file
44
test/test-cases/regression/issue-1941.json
Normal 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"
|
||||
]
|
||||
}
|
||||
]
|
Reference in New Issue
Block a user