developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Ticket #929: 929-magic_quotes-coord-plugin-should-handle-_FILES.diff

File 929-magic_quotes-coord-plugin-should-handle-_FILES.diff, 1.2 KB (added by Julien, 12 years ago)
  • lib/jelix/plugins/coord/magicquotes/magicquotes.coord.php

     
    33* @package    jelix
    44* @subpackage coord_plugin
    55* @author     Gerald Croes, Jouanneau Laurent
    6 * @contributor
     6* @contributor Julien Issler
    77* @copyright  2001-2005 CopixTeam, 2005-2007 Jouanneau laurent
    88* Some parts of this file are took from Copix Framework v2.3dev20050901, magicquotes.plugin.php,
    99* copyrighted by CopixTeam and released under GNU Lesser General Public Licence
    1010* author : Gerald Croes, Laurent Jouanneau
    1111* http://www.copix.org
     12* @copyright  2009 Julien Issler
    1213* @link        http://www.jelix.org
    1314* @licence    GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html
    1415*
     
    3940            foreach ($_REQUEST as $key=>$elem){
    4041                $_REQUEST[$key] = $this->_stripSlashes ($elem);
    4142            }
     43            foreach ($_FILES as $key=>$elem){
     44                $_FILES[$key] = $this->_stripSlashes ($elem);
     45            }
    4246        }
    4347        set_magic_quotes_runtime(0);
    4448    }