jodacame / youtube-music-engine

Youtube Music Engine Script PHP
GNU General Public License v3.0
64 stars 30 forks source link

ModSecurity - Execution error #16

Open FDiskas opened 6 years ago

FDiskas commented 6 years ago

https://github.com/jodacame/youtube-music-engine/blob/064b14f0846f9859cf23fab840ebc8aef523fc18/application/modules/music/controllers/music.php#L1339-L1345

[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>