-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only open direct link files if link points to Files app #3870
Conversation
/backport to stable25 |
1 flaky tests on run #8911 ↗︎
Details:
cypress/e2e/share.spec.js • 1 flaky test
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
ec1c603
to
4baa252
Compare
734475e
to
7d55553
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enough to fix #3857 👍
Until now, we always opened direct link files when a link contained a `fileId` query parameter. This breaks e.g. links to pages from the Collectives app, which contain `fileId` parameters as well. Limit opening direct file link to links that point to the Files app. Fixes: #3857 Signed-off-by: Jonas <[email protected]>
7d55553
to
ed89dd1
Compare
/compile |
Signed-off-by: nextcloud-command <[email protected]>
/backport ed89dd1 to stable25 |
/backport ed89dd1 to stable26 |
/backport ed89dd1 to stable25 |
The backport to stable25 failed. Please do this backport manually. |
2 similar comments
The backport to stable25 failed. Please do this backport manually. |
The backport to stable25 failed. Please do this backport manually. |
Manual backport to stable25: #3905 |
Until now, we always opened direct link files when a link contained a
fileId
query parameter. This breaks e.g. links to pages from the Collectives app, which containfileId
parameters as well.Limit opening direct file link to links that point to the Files app.
Fixes: #3857
🏁 Checklist
npm run lint
/npm run stylelint
/composer run cs:check
)