Skip to content

Commit b4a088c

Browse files
authored
Merge pull request #67 from azurit/FP2
fix: FP related to file upload
2 parents 341f5ba + d5e0a88 commit b4a088c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: plugins/wordpress-rule-exclusions-before.conf

+1
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ SecRule REQUEST_FILENAME "@rx /wp-json/wp/v[0-9]+/media" \
201201
nolog,\
202202
ctl:ruleRemoveById=200002,\
203203
ctl:ruleRemoveById=200004,\
204+
ctl:ruleRemoveTargetById=920120;FILES:file,\
204205
ver:'wordpress-rule-exclusions-plugin/1.0.1'"
205206

206207
# Gutenberg upload image/media via rest_route for sites without pretty permalinks

0 commit comments

Comments
 (0)