Skip to content

Commit 6159fd5

Browse files
authored
Update wordpress-rule-exclusions-before.conf
1 parent 51442ff commit 6159fd5

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

plugins/wordpress-rule-exclusions-before.conf

+16
Original file line numberDiff line numberDiff line change
@@ -951,6 +951,22 @@ SecRule REQUEST_FILENAME "@endsWith /wp-admin/async-upload.php" \
951951
ctl:ruleRemoveTargetById=933210;ARGS:name,\
952952
ctl:ruleRemoveTargetById=942100;ARGS:name"
953953

954+
# Modify media
955+
SecRule REQUEST_FILENAME "@endsWith /wp-admin/admin-ajax.php" \
956+
"id:9507791,\
957+
phase:2,\
958+
pass,\
959+
t:none,\
960+
nolog,\
961+
ver:'wordpress-rule-exclusions-plugin/1.1.0',\
962+
chain"
963+
SecRule ARGS:action "@streq save-attachment" \
964+
"t:none,\
965+
chain"
966+
SecRule &ARGS:action "@eq 1" \
967+
"t:none,\
968+
ctl:ruleRemoveTargetById=932100;ARGS:changes[caption]"
969+
954970
#
955971
# [ Options and Settings ]
956972
#

0 commit comments

Comments
 (0)