Commit 1c99512b authored by Dustri's avatar Dustri
Browse files

Fix another stored XSS

parent c76135d6
......@@ -74,13 +74,13 @@ class entreprise extends stdentity
{
if ( !$this->dbrw ) return; // Exits if "Read Only" mode
$this->nom = $nom;
$this->rue = $rue;
$this->id_ville = $id_ville;
$this->telephone = $telephone;
$this->email = $email;
$this->fax = $fax;
$this->siteweb = $siteweb;
$this->nom = htmlentities($nom);
$this->rue = htmlentities($rue);
$this->id_ville = htmlentities($id_ville);
$this->telephone = htmlentities($telephone);
$this->email = htmlentities($email);
$this->fax = htmlentities($fax);
$this->siteweb = htmlentities($siteweb);
$sql = new insert ($this->dbrw,
"entreprise",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment