Subversion Repositories eFlore/Applications.coel

Compare Revisions

Regard whitespace Rev 1691 → Rev 1697

/trunk/jrest/services/Coel.php
45,9 → 45,12
$this->gererSession($demarrer_session);
$this->gererIdentificationPermanente();
// Nettoyage du $_GET (sécurité)
if(isset($_GET['start'])) $this->start = intval($_GET['start']);
if(isset($_GET['limit'])) $this->limit = intval($_GET['limit']);
// Nettoyage du $_GET (non-sécurisé)
if (isset($_GET)) {
$get_params = array('orderby', 'distinct', 'start', 'limit', 'formatRetour', 'searchCity');
$get_params = array('orderby', 'distinct', 'formatRetour', 'searchCity');
foreach ($get_params as $get) {
$verifier = array('NULL', "\n", "\r", "\\", "'", '"', "\x00", "\x1a", ';');
if (isset($_GET[$get]) && $_GET[$get] != '') {