We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f07385d commit 123eba8Copy full SHA for 123eba8
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