mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-25 19:37:26 +02:00
Sécurité
This commit is contained in:
@ -36,7 +36,7 @@ class Pay {
|
||||
public function __construct($data)
|
||||
{
|
||||
foreach ($data as $key => $value)
|
||||
$this->$key = $value;
|
||||
$this->$key = htmlspecialchars($value);
|
||||
|
||||
$this->method = PaymentMethod::fromName(strtoupper($this->method));
|
||||
|
||||
|
Reference in New Issue
Block a user