Re[2]: [PEAR] QF - getValue() on file element returns not 'cleaned' file name

From: Date: Wed, 21 Apr 2004 13:06:23 +0000
Subject: Re[2]: [PEAR] QF - getValue() on file element returns not 'cleaned' file name
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11994@lists.php.net to get a copy of this message
Hi! Wednesday, April 21, 2004, 2:57:51 PM, you wrote: AB> Hi! AB> 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? AB> Ugh, looks like the $_FILES array is not cleaned indeed... AB> Please file this as a bug so that this is not lost. Ok, I'll report a bug :-) -- Best regards, Sebastian

« previous php.pear.general (#11994) next »