Skip to content

Commit

Permalink
fix: sync allowed content types to fix 9EA-241022
Browse files Browse the repository at this point in the history
  • Loading branch information
EsadCetiner authored Nov 28, 2024
1 parent 29509e9 commit 079e14f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/roundcube-rule-exclusions-before.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ SecRule &TX:allowed_request_content_type "@eq 0" \
pass,\
nolog,\
ver:'roundcube-rule-exclusions-plugin/1.0.2',\
setvar:'tx.allowed_request_content_type=|application/x-www-form-urlencoded| |multipart/form-data| |multipart/related| |text/xml| |application/xml| |application/soap+xml| |application/json| |application/cloudevents+json| |application/cloudevents-batch+json|'"

setvar:'tx.allowed_request_content_type=|application/x-www-form-urlencoded| |multipart/form-data| |text/xml| |application/xml| |application/soap+xml| |application/json|'"

# Since Roundcube does everything within the same URL path, this plugin tries to improve code readability by creating seperate rules based
# upon what kind of false positives they fix.
Expand Down

0 comments on commit 079e14f

Please sign in to comment.