W3C home > Mailing lists > Public > www-validator@w3.org > November 2007

Form enctype for file upload on results page

From: Robin Daugherty <robin@robindaugherty.net>
Date: Sat, 10 Nov 2007 18:52:07 -0800
Message-Id: <1A73DE1B-0D1D-420B-9381-7659FB1C95D8@robindaugherty.net>
To: www-validator@w3.org

On a validation page resulting from a file upload, the form enctype is  
not set, so if one attempts to upload another (or the same) file, an  
error results.

This issue doesn't exist on validator.w3.org, even though it's running  
0.8.2 just like me.

I fixed this by changing line 20 of table.tmpl from:
<form id="form" method="post" action="check">
to:
<form id="form" method="post" action="check" enctype="multipart/form- 
data">

Should I file a bug?

-Robin
Received on Monday, 12 November 2007 05:27:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:27 GMT