Topic: Solved: File name truncation at space in Attachments

File Attachments with and without spaces in their filenames get uploaded okay. When a download is attempted, then files with spaces in their names get truncated at the first space in file save dialog box.

Re: Solved: File name truncation at space in Attachments

The fix is to replace line 61 in admin/attachments.php:

            header('Content-Disposition: attachment; filename='.$row['filename']);

with:

            header('Content-Disposition: attachment; filename="'.$row['filename'].'"');

This just wraps the $filename within double quotes.

@joe: can commit it.