[Webkit-unassigned] [Bug 30103] Submitting an empty form with GET should not append a question mark

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 17 06:33:53 PDT 2015


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

Marat Tanalin <mtanalin at yandex.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mtanalin at yandex.ru

--- Comment #7 from Marat Tanalin <mtanalin at yandex.ru> ---
All other major browsers work correctly and do NOT append question mark to URL in case of empty GET-method form, namely:

* Firefox (at least version 4+),
* Opera 12 (Opera before switching to Chromium),
* Internet Explorer (at least version 8+),
* Microsoft Edge (Windows 10's brand new browser).

That's just common sense since the `?` separator is unneeded if there is nothing to separate (query string is empty).

Forms without fields are a valid way for creating buttons that effectively act as links that always point to the same exact URL [1].

WebKit and its fork named Chromium are currently the only engines that need the workaround based on server-side redirection [2].

[1] http://tanalin.com/en/blog/2013/03/link-button/
[2] http://tanalin.com/en/blog/2015/05/empty-query-string/

-- 
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/20150717/cd443171/attachment.html>


More information about the webkit-unassigned mailing list