From 6a0cb8cc84ad2cf9bf17d008823d07e5958c6e0a Mon Sep 17 00:00:00 2001 From: Agando Date: Fri, 2 Oct 2026 21:25:46 +0200 Subject: newOS4 v4.6.18: nginx dav trailing-slash semantics MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Discovered by dav-health-check.sh E2E (10/10 pass now): - nginx dav module REQUIRES trailing slash on MKCOL (no-slash → 409) and on directory DELETE (no-slash → 409/404); existing dir + slash MKCOL → 405 (the real 'already exists' signal) - _normalizeRemotePath now PRESERVES trailing slashes (collection ops) - _ensureDir MKCOLs with trailing slash - _deleteFile retries with slash on 409/404 (collection delete) - health-check expectations corrected (405 = existing, slash required) --- main.html | 6 +++--- modules/core/module-loader.js | 2 +- modules/ext/webdav.js | 24 ++++++++++++++++++++---- scripts/test-webdav-paths.mjs | 9 +++++---- 4 files changed, 29 insertions(+), 12 deletions(-) diff --git a/main.html b/main.html index 3ec6a94..a747582 100644 --- a/main.html +++ b/main.html @@ -1345,13 +1345,13 @@ - + - + - +