Revision 4559b4c8
Added by Amir Fefer over 7 years ago
app/views/templates/_form.html.erb | ||
---|---|---|
not have a 'name' attribute so browsers will not send them in the form POST. %>
|
||
<input type="hidden" id="old" value="<%= @template.template %>" />
|
||
<input type="hidden" id="new" value="<%= @template.template %>" />
|
||
|
||
<%# This hidden input is a workaround to fix IE Multipart form data bug (https://connect.microsoft.com/IE/Feedback/Details/868498) %>
|
||
<input type="hidden" name="_ie_support" %>
|
||
<% end %>
|
Also available in: Unified diff
Fixes #17808 - fix 'multipart form data' IE bug
According to this bug
(https://connect.microsoft.com/IE/Feedback/Details/868498),
multipart form data is malformed if there are fields without names.
This bug has been solved within Edge browser,
however no solution is expected for IE10/IE11
(cherry picked from commit a0e1286ddfced8ac90846de9e99d0b4070f0d445)