Menu

YouTube and HTTPS strangeness

Hello.

I have now done testing of how https and YouTube play along with CyberDragon and here are some
very intersting results:

1)
HTTPS Enforcing: OFF or ON
User-Agent string set to default user-agent (that is, User-Agent field is empty)
Status of viewing https://www.youtube.com/watch?v=s7EdQ4FqbhY: YouTube video not loading!

2)
HTTPS Enforcing: OFF or ON
User-Agent string set to impersonate some version of Chrome
Status of viewing https://www.youtube.com/watch?v=s7EdQ4FqbhY: YouTube video not loading!

3)
HTTPS Enforcing: OFF or ON
User-Agent string set to impersonate some version of Firefox
Status of viewing https://www.youtube.com/watch?v=s7EdQ4FqbhY: YouTube video not loading!

4)
HTTPS Enforcing: OFF or ON
User-Agent string set to some random garbage (like "Hello World" etc...)
Status of viewing https://www.youtube.com/watch?v=s7EdQ4FqbhY: YouTube video LOADS!

This is really bizarre! And even more bizarre is the fact that this same thing happened
with much older CyberDragon 1.6 version too when trying to view YouTube video over https://
And that old 1.6 version did not even have HTTPS Enforcing and User-Agent spoofing possibility!

If trying to view the same video without https:// (aka http://www.youtube.com/watch?v=s7EdQ4FqbhY)
then the video will load just fine no matter what the User-Agent string is.

So what the hell is YouTube doing behind the background when trying to watch videos over https:// ??????

Do I now have to make some dirty hack to send punch of random User-Agent string garbage just so that CyberDragon users can watch YouTube videos over secure, encrypted HTTPS ?????

Really, really, reaaaallly strange .....


Posted by Stefan Fröberg 2014-03-17 Labels: YouTube HTTPS

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.