开发者

Internet Explorer problem with long file names in input type=file

My QA tester is running long filename use cases through our application and ran into unexpected behavior in Internet Explorer 8 (shocking, I know...).

The filename including path is 258 characters long. In Firefox/Chrom/Safari, the filepath and/or name displays as expected. In IE, the filepath/name doesn't display at all.

I've been googling all morning and haven't found anything close to related to this issue. If we go over 260 characters, we get IE's invalid file name error.

I'd post code, but at this开发者_运维问答 point it's an HTML input issue, so the code is:

<input type="file" name="myUploadField" />
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜