[Webkit-unassigned] [Bug 53973] [Qt] Can't play youtube HTML5 Video because of HTTP 403 error from web server

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 7 21:24:13 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=53973





--- Comment #2 from Hui Huang <hui_huang at yahoo.com>  2011-02-07 21:24:14 PST ---
The URL of the HTML5 Video has already been percent encoded by youtube. It is percent encoded again in MediaPlayerPrivateQt::commitLoad by the constructor QUrl::QUrl(QString). According QUrl class reference (http://doc.qt.nokia.com/latest/qurl.html#QUrl-2), this constructor assumes that the URL is not percent encoded. Since the URL is double percent encoded, the HTTP GET Request for the video is rejected by youtube.

The bug can be fixed by using QUrl::fromEncoded to construct QUrl with an encoded URL. Attached proposed patch.

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



More information about the webkit-unassigned mailing list