Image Short URLs do not expand


#1

Summary

Images posted with a full URL work insert as images. Images posted through a URL shortening service (eg Firebase) do not.

Steps to reproduce

Paste
Short URL: https://undefined.page.link/zeuY
or
full URL: https://lh3.googleusercontent.com/-Lbf5RY2rC7A/W0bXZp2YlqI/AAAAAAAAlnA/Qj90HcyfC0oYT-6WJBLF19hbndYA8CW2wCHMYCw/s0/chrome_2018-07-11_23-21-58.png

Expected behavior

I would expect either url to post an image preview. Only the full URL does so.

Observed behavior

Screenshot of behavior: https :// undefined.page.link /uJoL
URL gapped as I am new user


#2

Hi @earlgrei! Thank you for reporting this.

I was able to repro on 5.1 RC-3 version, so probably it’s a bug. I created a ticket here for our team to discuss: https://mattermost.atlassian.net/browse/MM-11318.


#3

Hey. So I thought I might have had a workaround for this using markdown but a markdown image is not collapsible at all. I can load the short URL image using markdown but not collapse an Markdown tagged image.


#5

I’m bummed to see this was shifted from fix verision target 5.2 to 5.3. This will be preventing me from moving my Slack team to MM and from beginning deployment at my organization.

https://mattermost.atlassian.net/browse/MM-11318


#6

@earlgrei Thanks for the feedback, I notified devs about potentially getting this into v5.2.