Skip to content

[stable33] fix: 🐛 Update pdf save to use correct dav path and credentials#1440

Merged
danxuliu merged 5 commits into
stable33from
backport/1414/stable33
May 18, 2026
Merged

[stable33] fix: 🐛 Update pdf save to use correct dav path and credentials#1440
danxuliu merged 5 commits into
stable33from
backport/1414/stable33

Conversation

@backportbot

@backportbot backportbot Bot commented May 12, 2026

Copy link
Copy Markdown

Backport of #1414

moodyjmz and others added 4 commits May 12, 2026 18:20
Use /public.php/dav/files/SHARING_TOKEN instead of the legacy
/public.php/webdav endpoint for public share uploads.

Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>
This should not happen, but if it does, it should throw to avoid
silently resolving to "/files/undefined" and hiding the error.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Inline getUserRoot into getRootPath so both public and private
paths are resolved in one place.

Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>
requesttoken is for CSRF protection and is only meaningful when
there is an authenticated session. Public share uploads authenticate
via the token in the URL path, so the header is not needed there.

Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>
@danxuliu danxuliu force-pushed the backport/1414/stable33 branch from f54b38d to 0de6581 Compare May 12, 2026 16:21
@danxuliu

Copy link
Copy Markdown
Member

/compile /

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@danxuliu danxuliu marked this pull request as ready for review May 18, 2026 17:45

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

Tested and works 👍

CI error is unrelated and fixed in #1447

@danxuliu danxuliu merged commit 1bdb2a0 into stable33 May 18, 2026
37 of 38 checks passed
@danxuliu danxuliu deleted the backport/1414/stable33 branch May 18, 2026 17:47
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.

3 participants