mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +03:00
Modified affected test cases, which checked wrong variables
This commit is contained in:
parent
17d79ed7ba
commit
2d3fbbc56a
@ -1511,11 +1511,11 @@
|
||||
]
|
||||
},
|
||||
"expected":{
|
||||
"error_log":"o0,15v512,20t:trim"
|
||||
"error_log":"o0,8o0,8v491,8t:trimo0,16o0,16v709,16t:trim"
|
||||
},
|
||||
"rules":[
|
||||
"SecRequestBodyAccess On",
|
||||
"SecRule FILES_NAMES \"small_text_file\" \"id:1,phase:3,pass,t:trim,msg:'s'\""
|
||||
"SecRule FILES_NAMES \"(fiasdfasdfledata|filedata)\" \"id:1,phase:3,pass,t:trim,msg:'s'\""
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -51,11 +51,11 @@
|
||||
]
|
||||
},
|
||||
"expected":{
|
||||
"debug_log":"T \\(0\\) t:trim: \"small_text"
|
||||
"debug_log":"T \\(0\\) t:trim: \"filedata"
|
||||
},
|
||||
"rules":[
|
||||
"SecRuleEngine On",
|
||||
"SecRule FILES_NAMES \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
||||
"SecRule FILES_NAMES \"@contains filedata\" \"id:1,phase:3,pass,t:trim\""
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user