mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Adjust boundary test cases for the less strict parsing
This commit is contained in:
parent
b638e523af
commit
cbf2fe9703
@ -1618,7 +1618,7 @@
|
|||||||
{
|
{
|
||||||
"enabled":1,
|
"enabled":1,
|
||||||
"version_min":300000,
|
"version_min":300000,
|
||||||
"title":"multipart parser (boundary special char - trailing comma+token)",
|
"title":"multipart parser (boundary special char - trailing exclamation+token)",
|
||||||
"client":{
|
"client":{
|
||||||
"ip":"200.249.12.31",
|
"ip":"200.249.12.31",
|
||||||
"port":123
|
"port":123
|
||||||
@ -1633,7 +1633,7 @@
|
|||||||
"User-Agent":"curl/7.38.0",
|
"User-Agent":"curl/7.38.0",
|
||||||
"Accept":"*/*",
|
"Accept":"*/*",
|
||||||
"Content-Length":"330",
|
"Content-Length":"330",
|
||||||
"Content-Type":"multipart/form-data;boundary=0000,1111",
|
"Content-Type":"multipart/form-data;boundary=0000!1111",
|
||||||
"Expect":"100-continue"
|
"Expect":"100-continue"
|
||||||
},
|
},
|
||||||
"uri":"/",
|
"uri":"/",
|
||||||
@ -1850,7 +1850,7 @@
|
|||||||
},
|
},
|
||||||
"expected":{
|
"expected":{
|
||||||
"http_code": 403,
|
"http_code": 403,
|
||||||
"debug_log": "boundary was quoted.*No boundaries found in payload"
|
"debug_log": "Invalid boundary in C-T \\(characters\\).*boundary was quoted."
|
||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
@ -1911,7 +1911,7 @@
|
|||||||
},
|
},
|
||||||
"expected":{
|
"expected":{
|
||||||
"http_code": 403,
|
"http_code": 403,
|
||||||
"debug_log": "boundary was quoted.*No boundaries found in payload"
|
"debug_log": "Invalid boundary in C-T \\(characters\\).*boundary was quoted."
|
||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user