1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-14 12:52:08 +02:00

[ticket/16557] Generate https instead of http links to tracker

PHPBB3-16557
This commit is contained in:
Marc Alexander 2020-07-27 21:12:20 +02:00
parent 1a029a71e5
commit 58ef28e914
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -42,7 +42,7 @@ foreach ($xml->xpath('//item') as $item)
{
$key = (string) $item->key;
$keyUrl = 'http://tracker.phpbb.com/browse/' . $key;
$keyUrl = 'https://tracker.phpbb.com/browse/' . $key;
$keyLink = '<a href="' . $keyUrl . '">' . $key . '</a>';
$value = str_replace($key, $keyLink, htmlspecialchars($item->title));