YouTube preview video title link doesn't work


(Adam Capriola) #1

Try clicking the video title (before clicking the play button). The click tracking looks like it gets hung up.


#2

Not so much hung up as it goes absolutely nowhere.


(Kane York) #3

Yep, it thinks that the URL doesn’t exist in the post, so it rejects the redirect (the URL is added in later by the JS - the cooked has just a <div> placeholder).

It’s ‘secure’ in that this prevents it from being an open redirect, but something might need to change here.


(Akshay Mohite) #4

URL is in the post but whenever there is link in a post (raw), there is no corresponding entry in TopicLink which is looked into for redirection link.


(NomNuggetNom ) #5

Still an issue for us. Very frustrating as I always click the title :(.


(Lars) #6

This is still an issue!


(Régis Hanol) #7

Thanks for reporting that issue @AdamCapriola. I just pushed a fix :elephant:

https://github.com/discourse/discourse/commit/0f4a4651a9fa0ccf8d09d92587b14eaa8aaa5533


(Régis Hanol) #8