Repository navigation
[stable35] fix(dav): make password protected shares usable over /public.php/dav/files - #67150
Open
backportbot[bot] wants to merge 3 commits into
Open
backportbot[bot] wants to merge 3 commits into
backportbot[bot] wants to merge 3 commits into
Conversation
skjnldsv
force-pushed
the
backport/63420/stable35
branch
from
November 29, 2026 00:59
1b799ba to
8a1b4f5
Compare
skjnldsv
approved these changes
Nov 29, 2026
miaulalala
approved these changes
Nov 30, 2026
- 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>
- 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>
miaulalala
force-pushed
the
backport/63420/stable35
branch
from
November 30, 2026 16:20
8a1b4f5 to
7c08cdc
Compare
miaulalala
marked this pull request as ready for review
November 30, 2026 16:20
miaulalala
requested review from
icewind1991 and
salmart-dev
and removed request for
a team
November 30, 2026 16:20
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 left
checkToken()throwing on this branch, so the challenge never went out. I put the return back in the first commit.👾 This pull request was assisted by Claude Code, commits carry an
Assisted-bytrailer.