Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.3
-
Component/s: None
-
Labels:None
-
Environment:Any
Description
As mentioned in ICE-10777, it would be worth investigating if the HTML5 file input element can support client-side validation of file-type/extension. If so, we should add support for it (on supported browsers) as this would be more efficient than the current approach of uploading the file and then performing the type validation afterwards.
r52148: added client-side file type validation via 'acceptType' attribute to single upload mode
Note that this feature doesn't depend on HTML5, so it works on most browsers.