TheProjecter / osfilemanager

Automatically exported from code.google.com/p/osfilemanager
0 stars 0 forks source link

file with spaces: lose ending when downloading #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download a file via clicking on download button

What is the expected output? What do you see instead?
if there are word spaces in the filename, the filename will be cut at the first 
space. so the ending of the file is missing and the my computer system dont 
know this file.

What version of the product are you using? On what operating system? On
what web host? latest 2.2

Please provide any additional information below.

---------------
Fix the problem by:

change line 883
header("Content-Disposition: inline; filename=$file");

into
header("Content-Disposition: inline; filename=\"$file\"");

Original issue reported on code.google.com by i...@dennisbach.de on 13 Apr 2011 at 5:55

GoogleCodeExporter commented 9 years ago
Thanks a lot dude , Really helped

Original comment by SERVER...@gmail.com on 14 Oct 2011 at 2:15