[Webkit-unassigned] [Bug 162345] Setting URL.search to '' results in a stringified URL ending in '?'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 16 12:02:05 PDT 2017


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

Anthony Ricaud <rik at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |HasReduction
                 CC|                            |rik at webkit.org

--- Comment #1 from Anthony Ricaud <rik at webkit.org> ---
This is also an issue when using URLSearchParams:

const url = new URL('https://foo.com/?bar=baz');
url.searchParams.delete('bar');
console.log(url.toString());

This will include an extra ?

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


More information about the webkit-unassigned mailing list