huh i hadn't realized this. looks like these twitter links send back html, and not sure if its safe to render html returned from external resources on web

Reply to this note

Please Login to reply.

Discussion

Test:

That worked (?)

thats bc you posted an image link. some haveΒ https://twitter.com//photo type link as their pic that returns text/html

haha astral sanitized my post... sorry it displays wrong. username placehoder before the /photo

Ah. I did that instinctively.

True the link I get isΒ https://pbs.twimg.com/media/Fg5zVLfXoAEkH66?format=jpg&name=medium

but you can just remove everything after ? and append whats inside format= as the file extension to render for twitter links that match that regex

That did not work on astral.ninja for me

πŸ€” it works on my end

Strange, it's been this way even after clearing local storage, logged out and logged back in and cleared cookies and cache as well.

For example when I righ click > copy image link on Jack's profile it copies this "". Is this still HTML returned or a JPG direct link?

Jack's profile pic also renders fine for me on astral since the last update.

Can you try clearing your browser cache and astral site data?