Youtube launched with https and cannot play insecure content

Bug #1355818 reported by Jean-Baptiste Lallement
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Scope-Youtube
Fix Released
Undecided
Pete Woods

Bug Description

mako #185

Sometimes youtube is launched with an https URI and content cannot be played because it is insecure.
In this case the following message is displayed in webbrowser.log

qml: [JS] (https://m.youtube.com/watch?v=XXXXXXXXXXX) [blocked] The page at 'https://m.youtube.com/watch?v=XXXXXXXXXX' was loaded over HTTPS, but displayed insecure content from 'http://SOMEVERYLONGURL: this content should also be loaded over HTTPS.

Test Case 1:
1. Open the youtube scope
2. Search a video
3. Play it

Test Case 2:
1. Go to the 'Video' scope
2. Tap a video in the category 'Youtube Features' to open the detailed view
3. Tap the video to play it

Actual result
The webbrowser launches the video with an https URL and fails to play the video.

tags: added: lt-blocker lt-category-visible lt-prio-high
Revision history for this message
Adnane Belmadiaf (daker) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

It is not fixed if you follow the steps in the test case and do a search, reproduced on build #186.

description: updated
Revision history for this message
Pete Woods (pete-woods) wrote :

Apparently I only fixed one of the two places that can generate https URLs.

Changed in scope-youtube:
status: New → Confirmed
Revision history for this message
Pete Woods (pete-woods) wrote :

Version 1.0.8, which fixes this, is awaiting acceptance on the store now.

Changed in scope-youtube:
assignee: nobody → Pete Woods (pete-woods)
status: Confirmed → Fix Committed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thank you for the fix. I works fine on mako build #188. Closing

Changed in scope-youtube:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.