Adds offset regression tests and assorted fixes on var's offsets

This commit is contained in:
Felipe Zimmerle
2017-02-14 15:46:52 -03:00
committed by Felipe Zimmerle
parent 795994bb0e
commit 4ad3574cf2
25 changed files with 2228 additions and 117 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -51,7 +51,7 @@
]
},
"expected":{
"debug_log":"T \\(0\\) t:trim: \"filedata"
"debug_log":"T \\(0\\) t:trim: \"small_text"
},
"rules":[
"SecRuleEngine On",

View File

@@ -51,7 +51,7 @@
]
},
"expected":{
"debug_log":"Content-Type: multipart/form-data; boundary=------------"
"debug_log":"Multipart: Boundary: --------------------------756b6d74fa1a8ee2"
},
"rules":[
"SecRuleEngine On",

View File

@@ -51,7 +51,7 @@
]
},
"expected":{
"debug_log":"Target value: \"Content-Type Last-Modified Date\" \\(Variable: RESPONSE_HEADERS_NAMES\\)"
"debug_log":"Target value: \"Date Last-Modified Content-Type\" \\(Variable: RESPONSE_HEADERS_NAMES\\)"
},
"rules":[
"SecRuleEngine On",