The filename in the Content-Disposition header in filemanager_transfer() should be quoted. As it stands the filenames aren't interpreted correctly by the browser.
I'll submit a patch once you commit all the recent changes.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | filemanager.module_49632_0.patch | 1.08 KB | drewish |
| #1 | filemanager.module_49632.patch | 1.11 KB | drewish |
Comments
Comment #1
drewish commentedHere's a patch that quotes the filename and also adds docs for the header parameter.
Comment #2
drewish commentedFor testing, a sample filename that fails without the patch is: "Democracy_Now!_(9am_on_Feb_16th,_2006).mp3"
Comment #3
drewish commentedThe previous patch used filesize($filepath) which caused errors.
Comment #4
drewish commentedApplied to HEAD.
Comment #5
(not verified) commented