Summary: | GET form items without name attribute are still submitted | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Wim Leers <work> | ||||||
Component: | Forms | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED DUPLICATE | ||||||||
Severity: | Normal | CC: | ap | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Mac (Intel) | ||||||||
OS: | OS X 10.5 | ||||||||
Attachments: |
|
Description
Wim Leers
2008-05-12 06:30:32 PDT
Created attachment 21078 [details]
a test that doesn't fail
I cannot reproduce the problem using this test case.
Created attachment 21079 [details]
Test case that uses a select element, which does show the bug.
When I run your test example, a question mark gets appended to the URL. I'm not sure if that's correct, but that seems like a bug to me?
Anyway, I've updated your test case to use a select element, and now it does happen. I guess it only happens with select elements.
Confirmed with r33044; not a regression from latest shipping WebKit. (In reply to comment #2) > Test case that uses a select element, which does show the bug. Sorry, I should have thought of testing with select, as you described originally. > When I run your test example, a question mark gets appended to the URL. I'm not > sure if that's correct, but that seems like a bug to me? We match Firefox in this regard. Also, appears to match the steps in paragraph 17.13.3 of HTML 4.01 spec. > Confirmed with r33044; not a regression from latest shipping WebKit. Excellent. I don't think it'll be too hard to fix this, and while annoying, one can live with this. This is my first "contribution" to WebKit :) > Sorry, I should have thought of testing with select, as you described > originally. No problem :) I'm already amazed by the professionalism and speed of your reply! > > When I run your test example, a question mark gets appended to the URL. I'm not > > sure if that's correct, but that seems like a bug to me? > > We match Firefox in this regard. Also, appears to match the steps in paragraph > 17.13.3 of HTML 4.01 spec. Ok, I had a suspicion that wasn't a bug :) Keep on rocking, WebKit Team! :) |