Skip to content
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

[MM-55317] Force deep linking to use formatted path names when rewriting the URL #2907

Merged
merged 2 commits into from
Nov 10, 2023

Conversation

devinbinnie
Copy link
Member

@devinbinnie devinbinnie commented Nov 8, 2023

Summary

When deep linking, we were re-writing the path incorrect by not removing the trailing slash for servers with subpaths. This was causing issues with the Desktop App's auth flow.

This PR fixes the deep linking flow to make sure to clean the subpath properly.

Ticket Link

https://mattermost.atlassian.net/browse/MM-55317
Closes #2906

Fixed a deep linking issue for servers with subpaths

@devinbinnie devinbinnie added the 2: Dev Review Requires review by a core committer label Nov 8, 2023
@devinbinnie devinbinnie added this to the v5.6.0 milestone Nov 8, 2023
Copy link
Member

@hmhealey hmhealey left a comment

Choose a reason for hiding this comment

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

Could you rewrite this to not use a template string inside a template string?

@devinbinnie devinbinnie added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core committer labels Nov 10, 2023
@devinbinnie devinbinnie merged commit 762324b into mattermost:master Nov 10, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4: Reviews Complete All reviewers have approved the pull request release-note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to authenticate Desktop App through gitlab OAUTH2 Login since 9.1.x
4 participants