Delightful Downloads
[resolved] File Name change of Download when using Android-Browsers (3 posts)

  1. philchilla
    Posted 2 years ago #

    Using the built-in Android Browser or Chrome on Android Devices, i recognized that all downloaded files are renamed to "downloadfile.<ext>". (while <ext> is set correctly according to the mime_type of the file)
    I figured out that this is affected by a bug in the Android Download Manager which doesn't react in the correct manner. According to the Information provided in the above link, I looked at how the headers are set in includes\process-download.php. line 69 creates an output similar to this:
    Content-Disposition: attachment; filename="MyFileName.ZIP";
    ...which will lead the Android Download Manager to ignore the filename provided, because of the trailing semicolon.
    Removing the semicolon fixes the issue.
    A short test on a Desktop Browser (current Chrome) after the change showed normal behaviour.

  2. A5hleyRich
    Plugin Author

    Posted 2 years ago #

    Thanks for pointing this out. I'll get it added in the next update.



  3. A5hleyRich
    Plugin Author

    Posted 2 years ago #

    Fixed in version 1.3.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Delightful Downloads
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic