Skip to content

Commit d12fea0

Browse files
authored
fix: remove skip rules
1 parent 82a5c3a commit d12fea0

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

plugins/wordpress-rule-exclusions-before.conf

-29
Original file line numberDiff line numberDiff line change
@@ -382,32 +382,6 @@ SecRule REQUEST_COOKIES:_wp_session "@rx ^[0-9a-f]+\|\|\d+\|\|\d+$" \
382382
"t:none,\
383383
ctl:ruleRemoveTargetById=942100;REQUEST_COOKIES:_wp_session"
384384

385-
386-
#
387-
# -=[ WordPress Administration Back-End (wp-admin) ]=-
388-
#
389-
390-
# Skip this section for performance unless /wp-admin/ is in filename
391-
392-
SecRule REQUEST_FILENAME "!@contains /wp-admin/" \
393-
"id:9507400,\
394-
phase:1,\
395-
pass,\
396-
t:none,\
397-
nolog,\
398-
ver:'wordpress-rule-exclusions-plugin/1.0.1',\
399-
skipAfter:END-WORDPRESS-ADMIN"
400-
401-
SecRule REQUEST_FILENAME "!@contains /wp-admin/" \
402-
"id:9507401,\
403-
phase:2,\
404-
pass,\
405-
t:none,\
406-
nolog,\
407-
ver:'wordpress-rule-exclusions-plugin/1.0.1',\
408-
skipAfter:END-WORDPRESS-ADMIN"
409-
410-
411385
#
412386
# [ Installation ]
413387
#
@@ -1060,9 +1034,6 @@ SecRule REQUEST_FILENAME "@endsWith /wp-admin/admin-ajax.php" \
10601034
"t:none,\
10611035
ctl:ruleRemoveTargetById=942360;ARGS:s"
10621036

1063-
SecMarker "END-WORDPRESS-ADMIN"
1064-
1065-
10661037
#
10671038
# [ Plugins ]
10681039
#

0 commit comments

Comments
 (0)