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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 5 18:27:55 PDT 2009


           Summary: Submitting an empty form with GET should not append a
                    question mark
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: arv at chromium.org
                CC: brettw at chromium.org

If we submit a form using GET and there is no form data we should not append a
question mark '?'.

<form action="b.html" method="GET"></form>
<button onclick="document.forms[0].submit()">Submit</button>

This should navigate to "b.html" and not "b.html?"

The bug seems to be in KURL::setQuery. It always adds a '?' no matter what


Brett, KURLGoogle has a comment that it does not add the '?' and that we need
to eliminate this difference but it seems we always get the extra '?' with
KURLGoogle as well.


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