server
server copied to clipboard
Allow application to pass external links in navigation
- Resolves: #43204
Summary
External application returns external links for Nextcloud navigation.
But the NavigationController was attempting to turn those into local link, resulting in craziness like http://stable26.local/https://duckduckgo.com - See related issue.
Checklist
- Code is properly formatted
- Sign-off message is added to all commits
- [ ] Tests (unit, integration, api and/or acceptance) are included
- [x] Screenshots before/after for front-end changes
- [x] Documentation (manuals or wiki) has been updated or is not required
- [x] Backports requested where applicable (ex: critical bugfixes)
/backport to stable28
/backport to stable27
/backport to stable26
Can this as it is now be used as a patch in production?
Can this as it is now be used as a patch in production?
Yes I’d say it’s pretty safe.
The backport to stable26 failed. Please do this backport manually.
# Switch to the target branch and update it
git checkout stable26
git pull origin stable26
# Create the new backport branch
git checkout -b backport/43251/stable26
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 4fb5c15d 4f69f49a 6fc5cef6
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/43251/stable26
Error: No changes found in backport branch
Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.
The backport to stable27 failed. Please do this backport manually.
# Switch to the target branch and update it
git checkout stable27
git pull origin stable27
# Create the new backport branch
git checkout -b backport/43251/stable27
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 4fb5c15d 4f69f49a 6fc5cef6
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/43251/stable27
Error: No changes found in backport branch
Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.