Opened 14 years ago
Closed 14 years ago
#6248 closed defect (duplicate)
Form widget should use "application/x-www-form-urlencoded" for default enctype
Reported by: | guest | Owned by: | Douglas Hays |
---|---|---|---|
Priority: | high | Milestone: | 1.1 |
Component: | Dijit | Version: | 1.0 |
Keywords: | Cc: | [email protected]… | |
Blocked By: | Blocking: |
Description (last modified by )
The 1.0.2 version of the dijit.form.Form widget defaults enctype to "multipart/form-data". This means that the following won't work:
<form id="fooForm" dojoType="dijit.form.Form" action="/foo" method="post">
Instead, this must be used:
<form id="fooForm" dojoType="dijit.form.Form" action="/foo" method="post" enctype="application/x-www-form-urlencoded">
Not a huge deal, but the HTML 4.01 spec defines "application/x-www-form-urlencoded" as the default (http://www.w3.org/TR/html401/interact/forms.html#adef-enctype), so it was a surprise to see that the Form widget uses something different.
Change History (3)
comment:1 Changed 14 years ago by
Owner: | set to Douglas Hays |
---|
comment:2 Changed 14 years ago by
Milestone: | → 1.2 |
---|
comment:3 Changed 14 years ago by
Description: | modified (diff) |
---|---|
Milestone: | 1.2 → 1.1 |
Resolution: | → duplicate |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Dup of #5746. Fixed in [12261].