Re: [mod-security-users] I'm a beginner and need your help.
Brought to you by:
victorhora,
zimmerletw
|
From: Jason L. <hac...@ya...> - 2020-08-25 20:08:17
|
Is you mean:
SecRule MULTIPART_STRICT_ERROR "!@eq 0" \"id:'200002',phase:2,t:none,log,deny,status:400,msg:'Multipart request body \failed strict validation: \PE %{REQBODY_PROCESSOR_ERROR}, \BQ %{MULTIPART_BOUNDARY_QUOTED}, \BW %{MULTIPART_BOUNDARY_WHITESPACE}, \DB %{MULTIPART_DATA_BEFORE}, \DA %{MULTIPART_DATA_AFTER}, \HF %{MULTIPART_HEADER_FOLDING}, \LF %{MULTIPART_LF_LINE}, \SM %{MULTIPART_MISSING_SEMICOLON}, \IQ %{MULTIPART_INVALID_QUOTING}, \IP %{MULTIPART_INVALID_PART}, \IH %{MULTIPART_INVALID_HEADER_FOLDING}, \FL %{MULTIPART_FILE_LIMIT_EXCEEDED}'"
Sent from Yahoo Mail on Android
On Tue, Aug 25, 2020 at 11:00 PM, Ervin Hegedüs<ai...@gm...> wrote: Hi Jason,
On Tue, Aug 25, 2020 at 05:54:16PM +0000, Jason Long via mod-security-users wrote:
...
> When I want to import database via PhpMyadmin then it show me an error:
...
> And also error about "MULTIPART_BOUNDARY" .
...
I assume your SQL dump contains few comments (I mean lines which
begins with "--").
if this statement is true, the problem could be that: there is a
know bug in mod_security2, the boundary handling is wrong. (Note,
that the patch is available since nearly one year:
https://github.com/SpiderLabs/ModSecurity/pull/2193)
> Please help me to solve this problem.
you can turn off the rule with id 200002 (just comment out that
block and restart your HTTPD).
Hope this helps.
a.
|