php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34436 $_FILES being affected by magic quotes
Submitted: 2005-09-09 00:09 UTC Modified: 2005-09-11 19:07 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: bloobloo at gmail dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.0.5 OS: Windows Server 2003
Private report: No CVE-ID: None
 [2005-09-09 00:09 UTC] 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"


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-09 00:11 UTC] 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-10 23:08 UTC] sniper@php.net
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


 [2005-09-11 10:18 UTC] bloobloo at gmail dot com
Installed snapshot version to no avail
 [2005-09-11 19:07 UTC] iliaa@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

This is unavoidable, if you don't want names to be cut-off, disable magic_quotes.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 01 04:01:30 2024 UTC