Subversion Repositories eFlore/Applications.coel

Rev

Rev 1686 | Rev 1697 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1686 Rev 1691
Line 45... Line 45...
45
		$this->gererSession($demarrer_session);
45
		$this->gererSession($demarrer_session);
46
		$this->gererIdentificationPermanente();
46
		$this->gererIdentificationPermanente();
Line 47... Line 47...
47
		
47
		
48
		// Nettoyage du $_GET (sécurité)
48
		// Nettoyage du $_GET (sécurité)
49
		if (isset($_GET)) {
49
		if (isset($_GET)) {
50
			$get_params = array('orderby', 'distinct', 'start', 'limit', 'formatRetour');
50
			$get_params = array('orderby', 'distinct', 'start', 'limit', 'formatRetour', 'searchCity');
51
			foreach ($get_params as $get) {
51
			foreach ($get_params as $get) {
52
				$verifier = array('NULL', "\n", "\r", "\\", "'", '"', "\x00", "\x1a", ';');
52
				$verifier = array('NULL', "\n", "\r", "\\", "'", '"', "\x00", "\x1a", ';');
53
				if (isset($_GET[$get]) && $_GET[$get] != '') {
53
				if (isset($_GET[$get]) && $_GET[$get] != '') {
54
					$_GET[$get] = str_replace($verifier, '', $_GET[$get]);
54
					$_GET[$get] = str_replace($verifier, '', $_GET[$get]);