Replace the last vestiges of htmlentities with htmlspecialchars

This commit is contained in:
Aaron committed 2023-09-03 19:47:22 +02:00
1 parent 03ad26655c
commit 1fa4cb19a2
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -57,7 +57,7 @@ class ProvideAutoSuggest extends JSONController
return;
}
$label = htmlentities(trim($_REQUEST['tag']));
$label = htmlspecialchars(trim($_REQUEST['tag']));
$slug = strtr($label, [' ' => '-']);
$tag = Tag::createNew([
'tag' => $label,