Skip to content

Commit

Permalink
style: use unconditional match operator instead of beginswith
Browse files Browse the repository at this point in the history
  • Loading branch information
EsadCetiner committed Jun 6, 2024
1 parent 61891c3 commit 5645f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/roundcube-rule-exclusions-before.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ SecRule &TX:allowed_request_content_type "@eq 0" \

# Fix RoundCube cookie false positive
# We apply the cookie rule exclusion to all paths since Roundcube cookies are always sent for the domain Roundcube is installed on.
SecRule REQUEST_FILENAME "@beginsWith /" \
SecRule REQUEST_FILENAME "@unconditionalMatch" \
"id:9519100,\
phase:1,\
pass,\
Expand Down

0 comments on commit 5645f61

Please sign in to comment.