Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #2 (closed defect: invalid)

Opened 4 years ago

Last modified 2 years ago

Webrick & POST forms: problem with submit button value

Reported by: ror@andreas-s.net Assigned to: David
Priority: normal Milestone: 0.8
Component: Railties Version: 0.7
Severity: normal Keywords:
Cc:

Description

  <form action="something" method="post">
    <input type="submit" value="submit-foo" value="bar" />
  </form>

When I submit this form with webrick, @params[‘submit-foo’] is empty, but @params[‘submit’] contains ‘bar’. It works correcty with the Fast CGI dispatcher or with webrick & method=get.

Change History

10/15/04 22:07:44 changed by BenStiglitz

Shouldn't name="submit-foo"?

12/19/04 13:58:27 changed by anonymous

  • status changed from new to closed.
  • resolution set to invalid.