Skip to content

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

Open
SomSamantray wants to merge 1 commit into
nextcloud:masterfrom
SomSamantray:fix/webdav-automkcol-header
Open

SomSamantray wants to merge 1 commit 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

@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.)

@skjnldsv skjnldsv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

#15588 already fixed the headers table, so this conflicts now. Only the methods table (basic.rst:111) still says AutoMkcol, could you rebase down to that one cell? Plus what susnux said about the plan file.

@skjnldsv
skjnldsv force-pushed the fix/webdav-automkcol-header branch from bb63a78 to 6529b43 Compare November 18, 2026 14:42
Fixes the remaining AutoMkcol reference, the headers table was fixed in nextcloud#15588.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>

This branch has not been deployed

No deployments
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

3 participants