Closed studiovlijmscherp closed 10 years ago
It has something to do with filedownload.class.php line 115: $realpath = realpath($path);
when replacing it with: $realpath = realpath(htmlspecialchars_decode($path));
The folders with an '&' are displayed, but all folders & files are displayed twice.
oh, wow... having non alphanumeric character to the foldernames is simply not a good practice. what OS are you on?
Hi!
I know... But my client insists...
Server os is Linux CentOs.
Op 17 aug. 2013 om 05:39 heeft rico notifications@github.com het volgende geschreven:
oh, wow... having non alphanumeric character to the foldernames is simply not a good practice. what OS are you on?
— Reply to this email directly or view it on GitHubhttps://github.com/goldsky/FileDownload-R/issues/24#issuecomment-22804877 .
Quoted from http://www.cyberciti.biz/faq/linuxunix-rules-for-naming-file-and-directory-names/
Avoid using the following characters from appearing in file names:
1. /
2. >
3. <
4. |
5. :
6. &
Hi Rico,
Yes... I know and understand. But the folders are named after company client names ( wich contain &). No way to make this work?
Michiel
Verstuurd vanaf mijn iPad
Op 17 aug. 2013 om 10:06 heeft rico notifications@github.com het volgende geschreven:
Quoted from http://www.cyberciti.biz/faq/linuxunix-rules-for-naming-file-and-directory-names/
Avoid using the following characters from appearing in file names:
— Reply to this email directly or view it on GitHubhttps://github.com/goldsky/FileDownload-R/issues/24#issuecomment-22807637 .
I don't think it works with ampersand, so I'm closing this issue.
When trying to use foldernames with an ampersand in the '&getDir' property, the folder doens't show up. All the other folders are shown.
When setting '&browseDirectories=1', on one of the parents folders the folders with an ampersand are shown.