update: sanitize comment edits

This commit is contained in:
HDVinnie
2022-06-20 23:48:05 -04:00
parent 0d4cbff381
commit 46f37029e6
+1 -1
View File
@@ -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;
}