Skip to content

Commit

Permalink
docs: document use of @unconditionalMatch instead of SecAction (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
azurit authored Feb 16, 2024
1 parent 47ad545 commit a9376fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/wordpress-rule-exclusions-before.conf
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,8 @@ SecRule REQUEST_FILENAME "@endsWith /wp-admin/user-new.php" \
# [ General exclusions ]
#

# Operator @unconditionalMatch is used instead of a SecAction because of a bug
# in ModSecurity v3 which prevents SecActions to be removed using ctl action.
# _wp_http_referer and wp_http_referer are passed on a lot of wp-admin pages
SecRule REQUEST_FILENAME "@unconditionalMatch" \
"id:9507600,\
Expand Down

0 comments on commit a9376fd

Please sign in to comment.