[Webkit-unassigned] [Bug 170452] Setting url.search="??" (two questionmarks) has incorrect behavior

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 5 10:49:01 PDT 2017


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

Alex Christensen <achristensen at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |annevk at annevk.nl

--- Comment #1 from Alex Christensen <achristensen at apple.com> ---
We match the behavior of Chromium when setting the query to "??", and if I interpret https://url.spec.whatwg.org/#dom-url-search correctly, then Firefox and the web platform tests are not following the specification:
"Let input be the given value with a single leading U+003F (?) removed, if any."
I interpret this to mean that if the given value starts with one or more '?' then one will be removed.  Firefox seems to interpret this to mean that the leading '?' is only to be removed if it is followed by a non-question-mark character, which I don't think makes any sense.  I'm interested in Anne's interpretation.

With the setting of the query to "?" I believe Firefox, WebKit, and the specification are "correct" and Chromium needs to change.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170405/3421433f/attachment.html>


More information about the webkit-unassigned mailing list