Fix group link in results display to handle group names with special characters.

This commit is contained in:
Retro_Guy 2023-12-30 05:08:14 -07:00
parent dab4ab0fb0
commit 9d2cd5d603
1 changed files with 2 additions and 2 deletions

View File

@ -195,8 +195,8 @@ foreach ($overview as $overviewline) {
fclose($glfp);
# Generate link
$url = "../" . $section . "/article-flat.php?id=" . $overviewline['number'] . "&group=" . _rawurlencode($overviewline['newsgroup']) . "#" . $overviewline['number'];
$groupurl = "../" . $section . "/thread.php?group=" . _rawurlencode($overviewline['newsgroup']);
$url = "../" . $section . "/article-flat.php?id=" . $overviewline['number'] . "&group=" . urlencode($overviewline['newsgroup']) . "#" . $overviewline['number'];
$groupurl = "../" . $section . "/thread.php?group=" . urlencode($overviewline['newsgroup']);
$fromoutput = explode("<", html_entity_decode($overviewline['name']));
// Use local timezone if possible