mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-01 16:00:53 -05:00
update: sanitize comment edits
This commit is contained in:
@@ -61,7 +61,7 @@ class Comment extends Component
|
||||
return;
|
||||
}
|
||||
|
||||
$this->comment->update($this->editState);
|
||||
$this->comment->update((new AntiXSS())->xss_clean($this->editState));
|
||||
|
||||
$this->isEditing = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user