User-Agent: Mozilla/ (Windows; U; Windows NT ; en-US; rv) Gecko/ Firefox/ Build Identifier: Mozilla/ (Windows; U; Windows NT ; . Whenever someone sends me an attachment and I save it, Firefox truncates the file name if the file name contains blank spaces. I am running. with the original filename, allowing me to easily access it in my designated downloads folder and open it, Firefox now saves it with a filenames.
The filename parameter should be enclosed in double quotes. header('Content- Disposition: attachment;filename="'.$filename.'"');. It seems to be a a problem with Firefox (I'm using (bit)). I tested on Chromium and works perfectly. Here is a screenshot of the. Filenames with spaces are truncated upon download. From MozillaZine Knowledge Base. When downloading certain files, you may find that the filename is truncated up to Categories: Issues (Firefox) | Downloads - Firefox.
In Firefox, when using File->Save Page As, I want currently selected text (if any) to be used as the suggested filename. (Standard behavior is. The behavior of Mozilla's Firefox browser in relation to downloads can be In this case, the filename is simply costablancapropertydeals.com and would be.