<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:mtanalin@yandex.ru" title="Marat Tanalin <mtanalin@yandex.ru>"> <span class="fn">Marat Tanalin</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Submitting an empty form with GET should not append a question mark"
href="https://bugs.webkit.org/show_bug.cgi?id=30103">bug 30103</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>mtanalin@yandex.ru
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Submitting an empty form with GET should not append a question mark"
href="https://bugs.webkit.org/show_bug.cgi?id=30103#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Submitting an empty form with GET should not append a question mark"
href="https://bugs.webkit.org/show_bug.cgi?id=30103">bug 30103</a>
from <span class="vcard"><a class="email" href="mailto:mtanalin@yandex.ru" title="Marat Tanalin <mtanalin@yandex.ru>"> <span class="fn">Marat Tanalin</span></a>
</span></b>
<pre>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] <a href="http://tanalin.com/en/blog/2013/03/link-button/">http://tanalin.com/en/blog/2013/03/link-button/</a>
[2] <a href="http://tanalin.com/en/blog/2015/05/empty-query-string/">http://tanalin.com/en/blog/2015/05/empty-query-string/</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>