Skip to content
Snippets Groups Projects
Commit 55231c5c authored by ale's avatar ale
Browse files

Avoid modsec issues on /wp-admin/widgets.php

parent 511b8364
No related branches found
No related tags found
No related merge requests found
Pipeline #64058 passed
......@@ -82,9 +82,15 @@ SecRule REQUEST_URI "@beginsWith /wp-json/wp/v2/" \
ctl:ruleRemoveTargetByID=932105;ARGS:content,\
ctl:ruleRemoveTargetByID=941100;ARGS:content"
# "PCRE limits exceeded" errors on customization urls.
SecRule REQUEST_URI "@beginsWith /wp-admin/customize.php" \
"id:1012,\
pass,\
nolog,\
ctl:ruleEngine=Off"
SecRule REQUEST_URI "@beginsWith /wp-admin/widgets.php" \
"id:1013,\
pass,\
nolog,\
ctl:ruleEngine=Off"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment