Author: jowens.wiki
Description:
I noticed that in the Special:Import page, the input for the file looks like this:
<input type='file' name='xmlimport' value='' size='30' />
but according to the HTML specs (
http://www.w3.org/TR/html401/interact/forms.html#adef-size-INPUT ), the size
attribute only applies to the text and password input types.
If there's some particular buggy browser out there that requires a size for a
file input, I suppose this should stay, since decent browsers will ignore it
anyway. But if it's not needed by any browser, it should go away.
It's in includes/SpecialImport.php, line 85 (as of 1.5beta4).
Version: 1.5.x
Severity: minor
OS: FreeBSD
Platform: PC