网站提供文件下载时要防止文件名过长

      如果文件名过长,浏览器就会用URL当文件名(如 /hi.jsp)提示用户下载。因此,在提供下载前,最好截一下文件名。

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.