Bug 21478

Summary: SELECT elements with no name get submitted as empty GET variables
Product: WebKit Reporter: Gordon Myers <soapergem>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap, dglazkov
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
URL: http://gordon-myers.com/webkitbug.html

Gordon Myers
Reported 2008-10-08 10:55:59 PDT
If a form element is submitted as a GET request, and it contains select elements that have empty or nonexistent name attributes, their remnants still show up in the query string. For instance, if a select element with no name has an option selected with a value of 100, the query string would look like ?=100, when instead that should just be omitted. I included a quick demonstration script as the "URL" of this bug request.
Attachments
Gordon Myers
Comment 1 2011-05-20 06:32:30 PDT
It looks like this is no longer a problem... presumably some other bugfix also fixed this one at some point!
Alexey Proskuryakov
Comment 2 2011-05-20 08:49:17 PDT
Thank you for checking and following up! I think that I found when it got fixed, marking as duplicate. *** This bug has been marked as a duplicate of bug 20184 ***
Note You need to log in before you can comment on or make changes to this bug.