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

Commit

Permalink
Allow REPORT requests without Content-Type header 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 fb32edd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions rules/REQUEST-903.9003-NEXTCLOUD-EXCLUSION-RULES.conf
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,19 @@ SecRule REQUEST_FILENAME "@contains /remote.php/dav/files/" \
ctl:ruleRemoveById=953100-953130,\
ctl:ruleRemoveById=920440"

# Allow REPORT requests without Content-Type header (at least the iOS app does this)

SecRule REQUEST_METHOD "@streq REPORT" \
"id:9003121,\
phase:2,\
pass,\
t:none,\
nolog,\
chain"
SecRule REQUEST_FILENAME "@contains /remote.php/dav/files/" \
"t:none,\
ctl:ruleRemoveById=920340"


# [ Searchengine ]
#
Expand Down

0 comments on commit fb32edd

Please sign in to comment.