File tree 1 file changed +18
-2
lines changed
1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,8 @@ SecRule REQUEST_FILENAME "@endsWith /wp-comments-post.php" \
97
97
ver:'wordpress-rule-exclusions-plugin/1.0.1'"
98
98
99
99
SecRule REQUEST_FILENAME "@endsWith /wp-admin/comment.php" \
100
- "id:9507170 ,\
101
- phase:2 ,\
100
+ "id:9507131 ,\
101
+ phase:1 ,\
102
102
pass,\
103
103
t:none,\
104
104
nolog,\
@@ -108,6 +108,22 @@ SecRule REQUEST_FILENAME "@endsWith /wp-admin/comment.php" \
108
108
ctl:ruleRemoveTargetByTag=OWASP_CRS;ARGS:newcomment_author,\
109
109
ver:'wordpress-rule-exclusions-plugin/1.0.1'"
110
110
111
+ # Replying to a comment
112
+ SecRule REQUEST_FILENAME "@endsWith /wp-admin/admin-ajax.php" \
113
+ "id:9507132,\
114
+ phase:2,\
115
+ pass,\
116
+ t:none,\
117
+ nolog,\
118
+ ver:'wordpress-rule-exclusions-plugin/1.0.1',\
119
+ chain"
120
+ SecRule ARGS:action "@streq replyto-comment" \
121
+ "t:none,\
122
+ chain"
123
+ SecRule &ARGS:action "@eq 1" \
124
+ "t:none,\
125
+ ctl:ruleRemoveTargetByTag=OWASP_CRS;ARGS:content"
126
+
111
127
112
128
#
113
129
# [ Gutenberg Editor ]
You can’t perform that action at this time.
0 commit comments