[Webkit-unassigned] [Bug 33971] Check base URI validity before using in SVGImageLoader::sourceURI

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 21 14:22:18 PST 2010


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


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #47145|review?                     |review-
               Flag|                            |




--- Comment #2 from Darin Adler <darin at apple.com>  2010-01-21 14:22:17 PST ---
(From update of attachment 47145)
The call to deprecatedParseURL needs to be on the attr value *before* invoking
KURL at all. Making that change alone might fix the bug. Something like this:

    return KURL(element()->baseURI(), deprecatedParseURL(attr));

This bug needs a test case. review- for lack of a test case and because the fix
is probably wrong.

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