[Webkit-unassigned] [Bug 18165] Southparkstudios videos do not play

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 8 20:47:19 PDT 2008


agiyengar at yahoo.com changed:

           What    |Removed                     |Added
                 CC|                            |agiyengar at yahoo.com

------- Comment #3 from agiyengar at yahoo.com  2008-09-08 20:47 PDT -------
Looks like the site expects a valid referer to be set in HTTP Get requests
issued by the flash plugin. With Firefox the referer is set to
southparkstudios.com. IE7/IE8 always set the referer to the URL of the flash
movie. Opera/Google chrome always set the referer to the containing frame url
i.e., southparkstudios.com/episodes. 

A similar fix could be attempted. However it would break the following URL.

A quick glance at the HTTP headers from IE and chrome reveal the following:-

Here are the headers caught with chrome: GET 
C5378F42C4EC.flv HTTP/1.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) 
AppleWebKit/525.13 (KHTML, like Gecko) Chrome/ Safari/525.13
Referer: http://www.oneava.cn/read.php?tid=49
Accept: */*
Accept-Language: zh-CN,zh
Accept-Charset: gb18030,*,utf-8
Accept-Encoding: gzip,deflate,bzip2
Connection: Keep-Alive

Here are IE's headers: GET 
C5114F6C4B05.flv?start=170 HTTP/1.1
Accept: */*
Accept-Language: zh-CN
Referer: http://static.youku.com/v1.0.0320/v/swf/qplayer.swf
x-flash-version: 9,0,124,0
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Connection: Keep-Alive

Basically they need to check the referer to make sure the request comes 
from the flash they created, instead of a download link. IE gives referer 
as the url of flash swf, while chrome/opera gives the url of the page, which 
fails their check. 

As it is not documented what the referer header should contain in geturl
requests going out from plugins, does it make sense to match IE7/IE8?

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list