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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not think this should be committed ;)

@susnux susnux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As you used AI to generate this, please add the disclosure to your commits:
https://github.com/nextcloud/.github/blob/master/AI_POLICY.md#disclosure

@github-actions

Copy link
Copy Markdown
Contributor

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants