Specifying 'enctype' parameter in form template tag results in 'enctype' attribute being rendered twice
Bug #596903 reported by
Jeremy Volkman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
play framework |
Fix Committed
|
Undecided
|
Erwan Loisant | ||
1.1 |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
When specifying the 'enctype' attribute on a form tag (e.g., for file uploading), the 'form' element is rendered with two 'enctype' attributes.
Template: #{form @Files.addFile() , id:"addFileForm" }
HTML: <form action="/files" method="POST" accept-
Template: #{form @Files.addFile() , id:"addFileForm", enctype:
HTML: <form action="/files" method="POST" accept-
This doesn't appear to affect functionality, but it does fail w3c validation.
Changed in play: | |
assignee: | nobody → Erwan Loisant (eloisant) |
Changed in play: | |
status: | New → Won't Fix |
status: | Won't Fix → Fix Committed |
To post a comment you must log in.
Fixed in 1.1, thanks for the report.