Closed Bug 1332356 Opened 9 years ago Closed 9 years ago

SVG data URI with hash fails to parse, yet does so in Blink/Webkit.

Categories

(Core :: Networking, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID
Tracking Status
firefox53 --- affected

People

(Reporter: wisniewskit, Unassigned)

References

()

Details

(Whiteboard: [webcompat])

A non-base64-encoded data URI containing an SVG document with a # character does not parse in Firefox. For the example URL given, this is shown when placing it in the URL bar: >XML Parsing Error: unclosed token >Location: data:image/svg+xml;utf8,<svg%20xmlns="http://www.w3.org/2000/svg"><circle%20fill="#000"%20cx="60"%20cy="60"%20r="50"/></svg> >Line Number 1, Column 41:<svg xmlns="http://www.w3.org/2000/svg"><circle fill=" >----------------------------------------^ Edge also fails to parse the data URI, but Blink and WebKit do parse it, making this a web compat issue. I'm not sure if it's something we should fix or the other engines should, but I suspect it may be related to bug 658949.
Whiteboard: [webcompat]
That's a blink/webkit bug. They don't handle fragment identifiers properly.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.