Skip to content

Commit

Permalink
Improve regex
Browse files Browse the repository at this point in the history
Co-authored-by: Max Leske <[email protected]>
  • Loading branch information
EsadCetiner and theseion authored Sep 23, 2023
1 parent 25e0d96 commit ba29667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/nextcloud-rule-exclusions-before.conf
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ SecRule REQUEST_METHOD "@streq PROPFIND" \
ctl:ruleRemoveById=921110"

# Syncing calendars
SecRule REQUEST_FILENAME "@rx /remote\.php/dav/calendars/[^/]+/[^/]+/[^/]+\.ics$" \
SecRule REQUEST_FILENAME "@rx /remote\.php/dav/calendars/(?:[^/]+/){2}[^/]+\.ics$" \
"id:9508333,\
phase:3,\
pass,\
Expand Down

0 comments on commit ba29667

Please sign in to comment.