Skip to content

Commit

Permalink
fix: false positive with thunderbird as an dav client
Browse files Browse the repository at this point in the history
  • Loading branch information
EsadCetiner authored Nov 28, 2024
1 parent 01b9c91 commit 4de7014
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/sogo-rule-exclusions-before.conf
Original file line number Diff line number Diff line change
Expand Up @@ -355,11 +355,12 @@ SecRule REQUEST_FILENAME "@rx ^/SOGo/dav/[^/]+/Calendar/[^/]+/[^/]+\.ics$" \
setvar:'tx.allowed_request_content_type=%{tx.allowed_request_content_type} |text/calendar|'"

# Allow dav clients to scan for caldav/cardav path
# Thunderbird uses PUT method when configured as a CalDav/CardDav
SecRule REQUEST_FILENAME "@streq /" \
"id:9520143,\
phase:1,\
pass,\
t:none,\
nolog,\
ver:'sogo-rule-exclusions-plugin/1.0.2',\
setvar:'tx.allowed_methods=%{tx.allowed_methods} PROPFIND'"
setvar:'tx.allowed_methods=%{tx.allowed_methods} PUT PROPFIND'"

0 comments on commit 4de7014

Please sign in to comment.