Re: QF - getValue() on file element returns not 'cleaned' file name
| From: | Alexey Borzov | Date: | Wed, 21 Apr 2004 12:57:51 +0000 |
| Subject: | Re: QF - getValue() on file element returns not 'cleaned' file name | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11993@lists.php.net to get a copy of this message | ||
Hi!
Sebastian Baran wrote:
when uploaded file's name contains ' and magic_quotes_gpc is ON gives filename backslashed. It's for example in French language: "Détails D'Ordre.doc" becomes "Détails D\'Ordre.doc" Isn't file element cleaned if magic quotes is ON like other elements? Should I strip slashes myself from file's name? Has somebody encountered that problem?Ugh, looks like the $_FILES array is not cleaned indeed... Please file this as a bug so that this is not lost.