"Download selected" button will lead to file with spaces
Posted: Mon Oct 17, 2005 10:05 am
A user of my component noticed this recently:
When downloading the file with the download selected button, the filename of the file that will be downloaded will contain spaces if the name of the release contains spaces. When uploading this file with the installer, joomla might experience problems with a file with spaces, which will result in a xml setup file not found error.
The file i initially uploaded didn't contain spaces.
It might be wise to replace spaces with underscores when a file is being downloaded, since not every user will come to the idea of renaming the file to a filename without spaces before uploading it.
To replicate (since i know this story might not make too much sense):
Go here:
http://developer.joomla.org/sf/frs/do/l ... _component
- select the checkbox in front of the 1.4 beta 3 release and click the download selected button
--> the filename will be 1.4. beta 3.zip
- go one level deeper, by clicking the release name
- click on the releasefile itself, yanc_1.4_beta3.zip
--> the filename will be yanc_1.4_beta3.zip
When downloading the file with the download selected button, the filename of the file that will be downloaded will contain spaces if the name of the release contains spaces. When uploading this file with the installer, joomla might experience problems with a file with spaces, which will result in a xml setup file not found error.
The file i initially uploaded didn't contain spaces.
It might be wise to replace spaces with underscores when a file is being downloaded, since not every user will come to the idea of renaming the file to a filename without spaces before uploading it.
To replicate (since i know this story might not make too much sense):
Go here:
http://developer.joomla.org/sf/frs/do/l ... _component
- select the checkbox in front of the 1.4 beta 3 release and click the download selected button
--> the filename will be 1.4. beta 3.zip
- go one level deeper, by clicking the release name
- click on the releasefile itself, yanc_1.4_beta3.zip
--> the filename will be yanc_1.4_beta3.zip