[Webkit-unassigned] [Bug 53973] [Qt] Can't play HTML5 Video because of the URL is percent encoded twice

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 9 07:48:50 PST 2011


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





--- Comment #8 from Hui Huang <hui_huang at yahoo.com>  2011-02-09 07:48:44 PST ---
Thanks a lot for the advice. I tried your solution. It works. I think it is better than my original code. I will use it in the new patch I am working on.

(In reply to comment #7)
> I think calling ascii() is scary and IMHO we should avoid it.
> 
> Wouldn't it be safer to convert the String into a KURL first, and then convert that to a QURL? These conversions we know are safe:
> 
> KUrl kurl(ParsedURLString, url);
> QUrl qurl = kurl;
> 
> But maybe I'm just to afraid of these encoding issues :)

-- 
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