|
270 | 270 | debug => [ qr/Final boundary missing/, 1 ],
|
271 | 271 | },
|
272 | 272 | match_response => {
|
273 |
| - status => qr/^200$/, |
| 273 | + status => qr/^500$/, |
274 | 274 | },
|
275 | 275 | request => new HTTP::Request(
|
276 | 276 | POST => "http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.txt",
|
|
1120 | 1120 | SecRule REQBODY_PROCESSOR_ERROR "\@eq 1" "phase:2,deny,id:500121"
|
1121 | 1121 | ),
|
1122 | 1122 | match_log => {
|
1123 |
| - debug => [ qr/boundary whitespace in C-T header/, 1 ], |
| 1123 | + debug => [ qr/Multipart: Warning: boundary whitespace in C-T header./, 1 ], |
1124 | 1124 | },
|
1125 | 1125 | match_response => {
|
1126 |
| - status => qr/^403$/, |
| 1126 | + status => qr/^500$/, |
1127 | 1127 | },
|
1128 | 1128 | request => new HTTP::Request(
|
1129 | 1129 | POST => "http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.txt",
|
|
1216 | 1216 | SecRule REQBODY_PROCESSOR_ERROR "\@eq 1" "phase:2,deny,id:500127"
|
1217 | 1217 | ),
|
1218 | 1218 | match_log => {
|
1219 |
| - debug => [ qr/No boundaries found in payload/, 1 ], |
| 1219 | + debug => [ qr/Multipart parsing error: Multipart: No boundaries found in payload./, 1 ], |
1220 | 1220 | },
|
1221 | 1221 | match_response => {
|
1222 |
| - status => qr/^403$/, |
| 1222 | + status => qr/^500$/, |
1223 | 1223 | },
|
1224 | 1224 | request => new HTTP::Request(
|
1225 | 1225 | POST => "http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.txt",
|
|
1262 | 1262 | SecRule REQBODY_PROCESSOR_ERROR "\@eq 1" "phase:2,deny,id:500130"
|
1263 | 1263 | ),
|
1264 | 1264 | match_log => {
|
1265 |
| - debug => [ qr/Invalid boundary in C-T \(characters\)/, 1 ], |
| 1265 | + debug => [ qr/Multipart parsing error: Multipart: No boundaries found in payload./, 1 ], |
1266 | 1266 |
|
1267 | 1267 | },
|
1268 | 1268 | match_response => {
|
1269 |
| - status => qr/^403$/, |
| 1269 | + status => qr/^500$/, |
1270 | 1270 | },
|
1271 | 1271 | request => new HTTP::Request(
|
1272 | 1272 | POST => "http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.txt",
|
|
1404 | 1404 | SecRule REQBODY_PROCESSOR_ERROR "\@eq 1" "phase:2,deny,id:500139"
|
1405 | 1405 | ),
|
1406 | 1406 | match_log => {
|
1407 |
| - debug => [ qr/boundary was quoted.*No boundaries found in payload/s, 1 ], |
| 1407 | + error => [ qr/Multipart parsing error \(init\): Multipart: Invalid boundary in C-T \(characters\)./s, 1 ], |
1408 | 1408 | },
|
1409 | 1409 | match_response => {
|
1410 | 1410 | status => qr/^403$/,
|
|
0 commit comments