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.