Skip to content

Commit

Permalink
fix: SecAction can't be disabled via ctl action in libmodsecurity3 (#26)
Browse files Browse the repository at this point in the history
Use `@unconditionalMatch` instead
  • Loading branch information
EsadCetiner committed Feb 16, 2024
1 parent 02e407f commit 47ad545
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@

## Description

This plugin contains rule exclusions for [WordPress](https://wordpress.org/),
a content management system (CMS), so it can be run flawlessly togather with
This plugin contains rule exclusions for [WordPress](https://wordpress.org/), a content management system (CMS), so it can be run flawlessly together with
OWASP CRS (CRS).

## Installation
Expand Down
2 changes: 1 addition & 1 deletion plugins/wordpress-rule-exclusions-before.conf
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ SecRule REQUEST_FILENAME "@endsWith /wp-admin/user-new.php" \
#

# _wp_http_referer and wp_http_referer are passed on a lot of wp-admin pages
SecAction \
SecRule REQUEST_FILENAME "@unconditionalMatch" \
"id:9507600,\
phase:2,\
pass,\
Expand Down

0 comments on commit 47ad545

Please sign in to comment.