1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/17010] Use special chars decode to have valid URL with amp

PHPBB3-17010
This commit is contained in:
Marc Alexander
2023-07-02 17:27:50 +02:00
parent 79ff21fdf5
commit 5098f315fd

View File

@@ -122,7 +122,7 @@ class webpush extends messenger_base
'heading' => $this->config['sitename'],
'title' => strip_tags($notification->get_title()),
'text' => strip_tags($notification->get_reference()),
'url' => $notification->get_url(),
'url' => htmlspecialchars_decode($notification->get_url()),
'avatar' => $notification->get_avatar(),
]),
'notification_time' => time(),