[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
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

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