Closed Bug 802466 Opened 12 years ago Closed 12 years ago

Youtube stream url requires signature

Categories

(Firefox OS Graveyard :: General, defect, P1)

All
Gonk (Firefox OS)
defect

Tracking

(blocking-basecamp:+, firefox18 fixed, firefox19 fixed)

RESOLVED FIXED
blocking-basecamp +
Tracking Status
firefox18 --- fixed
firefox19 --- fixed

People

(Reporter: daleharvey, Assigned: daleharvey)

References

Details

Attachments

(1 file, 1 obsolete file)

Changes to youtubes api require a signature to be provided
Blocks: 796283
Assignee: nobody → dale
Attachment #672141 - Flags: review?(fabrice)
OS: Mac OS X → Gonk
Hardware: x86 → All
Comment on attachment 672141 [details] [diff] [review]
Bug 802466 - Add signature to stream url. r=fabrice

Review of attachment 672141 [details] [diff] [review]:
-----------------------------------------------------------------

r=me with nit addressed.

::: b2g/components/YoutubeProtocolHandler.js
@@ +92,5 @@
>  
>          let index;
>          if (url && type && ((index = recognizedTypes.indexOf(type)) != -1) &&
>              index > bestType) {
> +          uri = url + '&signature=' + params['sig'];

we need to guard against params['sig'] being null
Attachment #672141 - Flags: review?(fabrice) → review+
Added null check
Attachment #672141 - Attachment is obsolete: true
blocking-basecamp: --- → ?
Attachment #672254 - Flags: review+
Keywords: checkin-needed
Whiteboard: [needs-checkin-aurora]
Attachment #672254 - Flags: review+
Whiteboard: [needs-checkin-aurora]
Blocks: youtube.com
blocking-basecamp: ? → +
YouTube is important.
No longer blocks: youtube.com
Priority: -- → P1
https://hg.mozilla.org/mozilla-central/rev/d896a7f47e02
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: