Repository navigation
[stable33] fix(dav): make password protected shares usable over /public.php/dav/files - #67148
Draft
backportbot[bot] wants to merge 3 commits into
Draft
backportbot[bot] wants to merge 3 commits into
backportbot[bot] wants to merge 3 commits into
Conversation
- the throw leaves Auth\Plugin::beforeMethod() before challenge(), so the 401 has no WWW-Authenticate header - ajax callers keep the throw to avoid the browser password prompt Fixes #59391 Assisted-by: ClaudeCode:claude-opus-5 Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com> Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
skjnldsv
force-pushed
the
backport/63420/stable33
branch
from
November 29, 2026 00:59
3a356ea to
eedef50
Compare
- clients that cannot hold __Host- cookies get a redirect to /s/<token> and loop between the endpoints - the check targets ambient session replay, which a request carrying its own credentials is not Fixes #63418 Assisted-by: ClaudeCode:claude-opus-5 Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com> Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
…d endpoint remote.php/dav answers ajax calls with a DummyBasic challenge, so clients can tell a missing password from other errors without the browser opening its login popup. Do the same on public.php/dav through challenge(), which now runs for every password protected share. Also adapt the tests added on master since this branch was opened to checkToken() returning the failure, and the share session they use. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
skjnldsv
approved these changes
Nov 29, 2026
5 of 9 tasks
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #63420
The bot's conflict resolution needed a few fixes on this branch:
checkToken()still threw, so the challenge never went out. It returns the failure now.IShare::isPasswordProtected()andisPasswordHashed()don't exist on this branch, so the new check usesgetPassword() !== nulland the tests no longer mock them.👾 This pull request was assisted by Claude Code, commits carry an
Assisted-bytrailer.