Skip to content
Snippets Groups Projects
Commit 78ff62c7 authored by ale's avatar ale
Browse files

Disable Modsec on saving custom css

parent 076f5260
Branches
No related tags found
No related merge requests found
Pipeline #9072 passed
......@@ -16,9 +16,10 @@ SecRule REQUEST_URI "@beginsWith /wp-admin/site-health.php" \
nolog,\
ctl:ruleEngine=Off"
SecRule REQUEST_URI "@beginsWith /wp-admin/themes.php" \
SecRule REQUEST_FILENAME "@endsWith /wp-admin/themes.php" \
"id:1002,\
phase:2,\
pass,\
nolog,\
ctl:ruleRemoveByTag=attack-xss"
ctl:ruleRemoveTargetByTag=CRS;ARGS:newcontent"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment