Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

ModSecurity - Execution error #16

Open
FDiskas opened this issue Mar 10, 2018 · 0 comments
Open

ModSecurity - Execution error #16

FDiskas opened this issue Mar 10, 2018 · 0 comments

Comments

@FDiskas
Copy link
Contributor

FDiskas commented Mar 10, 2018

public function exportPlayList()
{
$this->load->helper('download');
$list = $this->input->post("list");
force_download("playlist.json", $list);
}

[Sat Mar 10 07:23:28.135072 2018] [:error] [pid 27229:tid 140389977675520] [client 46.161.9.**:27086] [client 46.161.9.**] ModSecurity: Rule 23a1f60 [id "213020"][file "/etc/httpd/conf/modsec/07_XSS_XSS.conf"][line "303"] - Execution error - PCRE limits exceeded (-8): (null). [hostname "**.lt"] [uri "/music/exportPlayList"] [unique_id "WqNr0E9iHA0AAGpdN90AAAdH"], referer: http://***.lt/artist/ben-cramer/

to ignore this error add entry to .htaccess file

<IfModule mod_security2.c>
       SecRuleRemoveById 213020
</IfModule>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant