fix: stored xss with wish url
This commit is contained in:
parent
9d3e0cc16d
commit
d60c2ff432
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ class Wish
|
||||||
$this->title = stripslashes($wishData['title'] ?? '');
|
$this->title = stripslashes($wishData['title'] ?? '');
|
||||||
$this->description = stripslashes($wishData['description'] ?? '');
|
$this->description = stripslashes($wishData['description'] ?? '');
|
||||||
$this->image = $wishData['image'] ?? '';
|
$this->image = $wishData['image'] ?? '';
|
||||||
$this->url = $wishData['url'] ?? '';
|
$this->url = htmlspecialchars($wishData['url'] ?? '', ENT_QUOTES);
|
||||||
$this->priority = $wishData['priority'];
|
$this->priority = $wishData['priority'];
|
||||||
$this->status = $wishData['status'];
|
$this->status = $wishData['status'];
|
||||||
$this->is_purchasable = $wishData['is_purchasable'];
|
$this->is_purchasable = $wishData['is_purchasable'];
|
||||||
|
|
Loading…
Reference in a new issue