Re: I'm a beginner and need your help.

Jason Long via mod-security-users <[email protected]>
Newsgroups gmane.comp.apache.mod-security.user
Message-ID <[email protected]>
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<[email protected]> 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.

_______________________________________________
mod-security-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mod-security-users
Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs:
http://www.modsecurity.org/projects/commercial/rules/
http://www.modsecurity.org/projects/commercial/support/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.