Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

Commit

Permalink
Suppress rule 200002 when editing contacts in Nextcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
pyllyukko committed Apr 21, 2020
1 parent cf57fd5 commit 2f38ef0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions rules/REQUEST-903.9003-NEXTCLOUD-EXCLUSION-RULES.conf
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,17 @@ SecRule REQUEST_FILENAME "@contains /remote.php/dav/addressbooks/" \
nolog,\
setvar:'tx.allowed_request_content_type=%{tx.allowed_request_content_type}|text/vcard'"

# Allow modifying contacts via the web interface
SecRule REQUEST_METHOD "@streq PUT" \
"id:9003321,\
phase:1,\
pass,\
t:none,\
nolog,\
chain"
SecRule REQUEST_FILENAME "@contains /remote.php/dav/addressbooks/" \
"t:none,\
ctl:ruleRemoveById=200002"

# [ Calendar ]
#
Expand Down

0 comments on commit 2f38ef0

Please sign in to comment.