Skip to content

[stable33] fix(files_sharing): Drop trailing '?' from public download redirect URL#59885

Open
backportbot[bot] wants to merge 2 commits intostable33from
backport/59867/stable33
Open

[stable33] fix(files_sharing): Drop trailing '?' from public download redirect URL#59885
backportbot[bot] wants to merge 2 commits intostable33from
backport/59867/stable33

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot Bot commented Apr 23, 2026

Backport of PR #59867

Public share download links now redirect to the public DAV endpoint
cleanly when no additional query parameters are present. Previously the
redirect always appended a trailing '?' to the target URL, which caused
an Internal Server Error for clients that called the legacy download
endpoint without query parameters (e.g. the Thunderbird FileLink
extension). Links shared before this change are resolvable again.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
@backportbot backportbot Bot requested a review from a team as a code owner April 23, 2026 14:22
@backportbot backportbot Bot requested review from Altahrim, CarlSchwan, icewind1991, miaulalala, nfebe, sorbaugh and susnux and removed request for a team April 23, 2026 14:22
@backportbot backportbot Bot added the 3. to review Waiting for reviews label Apr 23, 2026
@backportbot backportbot Bot added this to the Nextcloud 33.0.3 milestone Apr 23, 2026
@joshtrichards
Copy link
Copy Markdown
Member

@copilot re-run all failed jobs

Co-authored-by: joshtrichards <1731941+joshtrichards@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 23, 2026

@copilot re-run all failed jobs

The previous CI failures were all transient infrastructure issues unrelated to the code change:

  • PHPUnit files_external generic & PHPUnit mysql: Failed due to DNS resolution error (getaddrinfo EAI_AGAIN cli.codecov.io) when uploading coverage to Codecov — all actual tests passed.
  • Cypress: The Oracle runner experienced heavy memory swapping and Docker network cleanup errors.

I've pushed a commit (97798a3) to re-trigger all workflows.

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

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants