[Webkit-unassigned] [Bug 68089] WebKit doesn't parse "#" as delimiter for fragment identifier in data URIs
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 21 13:11:11 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=68089
--- Comment #30 from Daniel Holbert <dholbert at mozilla.com> 2011-10-21 13:11:10 PST ---
(In reply to comment #29)
> So, for example, clicking on the link in that appears at the beginning of the result of interpreting
>
> data:application/xhtml+xml,<html xmlns='http://www.w3.org/1999/xhtml'><a href='#target'>go green</a> [etc]
I would agree with you if you replaced "#" with "%23".
But in the URI as you provided it, the "#" technically terminates the main portion of the URI and indicates the beginning of the fragment-identifier. So your URI just contains this (invalid) XML:
> <html xmlns='http://www.w3.org/1999/xhtml'><a href='
and that's it.
This is how both Opera and Firefox handle that URI, when they load it directly. I agree that this strict behavior is a bit unintuitive (see the whatwg thread I started about trying to make it better[1]), but the general consensus in that thread was that the strict behavior (that Firefox implements) is correct.
http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-September/033162.html
--
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