Android Chrome browser unnecessarily renames names & types of downloaded files

前端 未结 3 1312
暗喜
暗喜 2021-01-28 23:41

I thought I\'d repost this since I have more detailed information:

THE ISSUE: Android Chrome browser renames a file to \"Download\" in all cases. It renames the type t

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-29 00:11

    Content-Disposition has a history of being a problem on Android. You are certainly welcome to try removing the UTF-8 part and see if that helps Chrome. But definitely test the original Android Browser app as well, as numerically that's the most popular browser for Android.

    See also:

    • http://code.google.com/p/android/issues/detail?id=11422
    • Android browser/webview bug? Content-Disposition: attachment; filename="xyz.txt"
    • http://code.google.com/p/android/issues/detail?id=9991
    • http://thedigiblog.wordpress.com/2011/04/19/android-and-the-download-file-headers/

提交回复
热议问题