forked from Public/pics
Replace the last vestiges of htmlentities with htmlspecialchars
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user