Skip to content

feat(routing): add files_sharing_raw to rootUrlApps#58648

Merged
ernolf merged 2 commits intomasterfrom
feat/add-files-sharing-raw-to-rootUrlApps
Mar 10, 2026
Merged

feat(routing): add files_sharing_raw to rootUrlApps#58648
ernolf merged 2 commits intomasterfrom
feat/add-files-sharing-raw-to-rootUrlApps

Conversation

@ernolf
Copy link
Contributor

@ernolf ernolf commented Mar 1, 2026

Summary

  • Registers files_sharing_raw in the \$rootUrlApps array in RouteParser.php
  • Required for the files_sharing_raw app to serve raw file shares under clean root paths (/raw/{token}, /rss) instead of the /apps/files_sharing_raw/... fallback

TODO

  • ...

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

- Registers the files_sharing_raw app as a root-URL app so that its routes are served under /raw/{token} and /rss instead of the default /apps/files_sharing_raw/... prefix.
  This is required for the files_sharing_raw app to generate correct canonical raw URLs via PublicUrlBuilder.

Signed-off-by: ernolf <[email protected]>
@ernolf ernolf requested a review from a team as a code owner March 1, 2026 01:31
@ernolf ernolf requested review from ArtificialOwl, come-nc, icewind1991 and leftybournes and removed request for a team March 1, 2026 01:31
@CarlSchwan
Copy link
Member

CarlSchwan commented Mar 2, 2026

code and usecase make sense to me . But cc @AndyScherzinger to be sure this is something we want to allow product wise

@ernolf ernolf requested a review from AndyScherzinger March 2, 2026 12:52
@AndyScherzinger
Copy link
Member

@CarlSchwan yes, fine by me and also something that got requested in the past already. So it makes sense and there is actual demand 👍

@ernolf
Copy link
Contributor Author

ernolf commented Mar 3, 2026

Is backport to 32 and 33 fine?

@CarlSchwan
Copy link
Member

/backport to stable33

@CarlSchwan
Copy link
Member

/backport to stable32

@szaimen szaimen added 3. to review Waiting for reviews enhancement labels Mar 4, 2026
@szaimen szaimen added this to the Nextcloud 34 milestone Mar 4, 2026
@szaimen
Copy link
Contributor

szaimen commented Mar 9, 2026

@AndyScherzinger can this be merged?

@AndyScherzinger
Copy link
Member

@szaimen - see #58648 (comment) - yes 👍

@AndyScherzinger
Copy link
Member

I just didn't sent an approval, since I don't do a technical review, hence an actual 2nd review would be appreciated. My approval is feature/behavior-wise not code-wise.

Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

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

LGTM but didnt test

@szaimen szaimen added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Mar 10, 2026
@ernolf ernolf merged commit 3e78bf6 into master Mar 10, 2026
185 of 187 checks passed
@ernolf ernolf deleted the feat/add-files-sharing-raw-to-rootUrlApps branch March 10, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants