rproxy: pass WebDAV methods on (closes #278)
check / check (push) Successful in 5m20s

rproxy now passes PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, REPORT,
SEARCH, LOCK and UNLOCK to discriminator instead of answering 405, so
Nextcloud's Files app and sync client work. The Core Rule Set's 911100
still refuses them wherever no app's exclusions allow them.

Model: opus-5-5
This commit is contained in:
sneak committed 2026-11-10 06:10:17 +00:00
1 parent 183a6072d5
commit 8061ef3cc3
3 files changed
+21 -3

No files matched your search

+13
View File
@@ -1881,10 +1881,23 @@ image runs it by default (see "Deployment").
- `DELETE`
- `PATCH`
- `QUERY`
- `PROPFIND`
- `PROPPATCH`
- `MKCOL`
- `COPY`
- `MOVE`
- `REPORT`
- `SEARCH`
- `LOCK`
- `UNLOCK`
It answers any other method `405`, with no question and no report. The answer's
`Allow` header names these methods.
Nextcloud's Files app and sync client use the last nine, which are WebDAV
methods. The Core Rule Set refuses them except where an app's exclusions allow
them.
`rproxy` answers `400`, with no question and no report, to a request with:
- a target that does not start with `/`, such as `x:admin`,