mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Makes the lexical errors a little bit more verbose
This commit is contained in:
committed by
Felipe Zimmerle
parent
5880524db6
commit
a6f07f621d
@@ -80,7 +80,7 @@
|
||||
]
|
||||
},
|
||||
"expected":{
|
||||
"parser_error": "File: action-id.json. Line: 2. Column: 30. invalid character i"
|
||||
"parser_error": "File: action-id.json. Line: 2. Column: 56. Invalid action: id:-1,phase:2,pass,t:trim\""
|
||||
},
|
||||
"rules":[
|
||||
"SecRuleEngine On",
|
||||
@@ -212,7 +212,7 @@
|
||||
]
|
||||
},
|
||||
"expected":{
|
||||
"parser_error": "action-id.json. Line: 2. Column: 30. invalid character i"
|
||||
"parser_error": "action-id.json. Line: 2. Column: 56. Invalid action: id:'1,phase:2,pass,t:trim\""
|
||||
},
|
||||
"rules":[
|
||||
"SecRuleEngine On",
|
||||
@@ -256,7 +256,7 @@
|
||||
]
|
||||
},
|
||||
"expected":{
|
||||
"parser_error": "action-id.json. Line: 2. Column: 34. invalid character '"
|
||||
"parser_error": "action-id.json. Line: 2. Column: 56. Invalid action: ',phase:2,pass,t:trim\""
|
||||
},
|
||||
"rules":[
|
||||
"SecRuleEngine On",
|
||||
|
Reference in New Issue
Block a user