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

Commit

Permalink
Merge pull request #1743 from pyllyukko/fix-nextcloud-report-request
Browse files Browse the repository at this point in the history
Allow REPORT requests without Content-Type header in Nextcloud
  • Loading branch information
franbuehler authored May 5, 2020
2 parents e988d3e + fb32edd commit 3711365
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 @@ -149,6 +149,19 @@ SecRule REQUEST_FILENAME "@contains /remote.php/dav/files/" \
ctl:ruleRemoveById=920440,\
ver:'OWASP_CRS/3.2.0'"

# 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 3711365

Please sign in to comment.