-
Notifications
You must be signed in to change notification settings - Fork 847
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
Clicking some links, or images in link previews, render the page inside the app instead of in a new browser tab #369
Comments
I could not reproduce that in the combination: Windows 7 / Mattermost Server v3.4.0 / Mattermost Desktop App v3.4.1 and also on desktop app v3.5.0. I feel the link was unexpectedly rendered as a simple In some cases like SSO, external pages should be opened in the app. So I would not be able to restrict the behavior by using hostname. |
Would there be post formatting that would lead to this, would you know? |
Unfortunately no. FYI, I tried two cases, typing URL and using markdown link. |
Sounds good, we haven't reproduced it in 3.5 yet, so I'll add 'more information needed' label for now. The original submitter mentioned it occurs randomly, so if they can't reproduce it in 3.5 I'll close the issue |
@yuya-oc added new repro steps for a second scenario: Repro steps:
|
^I was able to consistently reproduce this in Windows 10; the report came from Windows 7 |
Thanks! In the second scenario, the image has To fix this, probably we can take two approaches.
|
We actually just merged a new version for website link previews where we use OpenGraph data instead: mattermost/mattermost#4890 This changes the behaviour a little where images aren't clickable --> and hence they probably don't have the From your viewpoint, I'm not sure if that might resolve the issues here? |
Yeah, the approach seems to solve this problem. In future, the approach 1.) would be the fundamental measure though. |
Would we need to whitelist which login URLs we'd support? A server running SAML might set up a custom IDP depending on which provider they want to use (hence, the login pages might be different) |
Jira ticket: https://mattermost.atlassian.net/browse/MM-14108 |
No longer valid |
I confirm (by marking "x" in the [ ] below):
Jira ticket: https://mattermost.atlassian.net/browse/MM-14108
Summary
Clicking some links, or images in link previews, render the page inside the app instead of in a new browser tab
Steps to reproduce
SCENARIO 1
Environment:
Repro steps:
http://www.theverge.com/2016/11/15/13635788/apple-coffee-table-book-products-images
--
SCENARIO 2
Environment:
Repro steps:
Show experimental previews of link content, when available
https://www.flickr.com/photos/spacex/31579784413/
Expected behavior
A new browser window opens for the web page you clicked
Observed behavior
Page renders inside the app. There is no way to go back to the app unless you restart it.
Possible fixes
?
The text was updated successfully, but these errors were encountered: