#34436 [Opn->Fbk]: $_FILES being affected by magic quotes

From: Date: Sat, 10 Sep 2005 21:08:13 +0000
Subject: #34436 [Opn->Fbk]: $_FILES being affected by magic quotes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-84838@lists.php.net to get a copy of this message
ID: 34436 Updated by: sniper@php.net Reported By: bloobloo at gmail dot com -Status: Open +Status: Feedback -Bug Type: Filesystem function related +Bug Type: *General Issues Operating System: Windows Server 2003 PHP Version: 5.0.5 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2005-09-09 00:11:25] bloobloo at gmail dot com btw this bug only happens when magic_quotes_gpc is on. When set to off this problem does not occur ------------------------------------------------------------------------ [2005-09-09 00:09:26] bloobloo at gmail dot com Description: ------------ This is a repeat of #31398, which seems to not have been fixed in the current version. $_FILES["file"]["name"] truncates everything before a single quote in a file name. eg. "Bob's Work.doc" becomes "s Work.doc" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34436&edit=1

« previous php.bugs (#84838) next »