We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f07385d + 123eba8 commit 2d45a9cCopy full SHA for 2d45a9c
event/listener.php
@@ -368,8 +368,8 @@ protected function can_use_notifications()
368
*/
369
protected function trim_shortname($name)
370
{
371
- $decoded = ext::decode_entities($name, ENT_QUOTES);
+ $decoded = ext::decode_entities($name, ENT_COMPAT);
372
$trimmed = utf8_substr($decoded, 0, 12);
373
- return htmlspecialchars($trimmed, ENT_QUOTES, 'UTF-8');
+ return utf8_htmlspecialchars($trimmed);
374
}
375
0 commit comments