Skip to content

fix(webdav): correct X-NC-WebDAV-Auto-Mkcol header name in docs - #15422

Open
SomSamantray wants to merge 2 commits into
nextcloud:masterfrom
SomSamantray:fix/webdav-automkcol-header
Open

fix(webdav): correct X-NC-WebDAV-Auto-Mkcol header name in docs#15422
SomSamantray wants to merge 2 commits into
nextcloud:masterfrom
SomSamantray:fix/webdav-automkcol-header

Conversation

@SomSamantray

@SomSamantray SomSamantray commented Aug 7, 2026

Copy link
Copy Markdown

☑️ Resolves

Clients following the WebDAV client API documentation sent the upload header X-NC-WebDAV-AutoMkcol and received a 403 on uploads that should auto-create missing parent directories. The server reads X-NC-WebDAV-Auto-Mkcol (apps/dav/lib/Upload/UploadAutoMkcolPlugin.php in nextcloud/server), so the documentation is now corrected in both the request-methods and request-headers tables, with the grid table re-aligned to fit the longer header name.

Verified: repo-wide grep for the old header name returns zero matches; basic.rst parses cleanly with docutils 0.23; codespell reports no issues.

Session-settled decisions carried from planning: correct header name X-NC-WebDAV-Auto-Mkcol (user-directed, over keeping AutoMkcol).

🖼️ Screenshots

Text-only change; no screenshots.

✅ Checklist

  • I have built the documentation locally and reviewed the output
  • Screenshots are included for visual changes (N/A - text-only)
  • I have not moved or renamed pages (or added a redirect if I did)
  • I have run codespell or similar and addressed any spelling issues

Compound Engineering

Signed-off-by: Som Samantray <som.samantray@gmail.com>
Rename the misspelled upload header to match the server implementation
(apps/dav/lib/Upload/UploadAutoMkcolPlugin.php). Clients following the
documentation previously sent the wrong header and received a 403 on
uploads that should auto-create parent directories.

Fixes nextcloud#15365

Signed-off-by: Som Samantray <som.samantray@gmail.com>
@SomSamantray
SomSamantray force-pushed the fix/webdav-automkcol-header branch from 8936a2b to bb63a78 Compare August 7, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change X-NC-WebDAV-AutoMkcol to X-NC-WebDAV-Auto-Mkcol

1 participant