Handle special chars in link for message id search.

This commit is contained in:
Retro_Guy 2024-05-19 00:45:39 -07:00
parent 4136c62bfd
commit 448275cdd8
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ if (strpos($id, '@') !== false) {
}
$overview_dbh = null;
if ($found) {
$newurl = 'article-flat.php?id=' . $id . '&group=' . $row['newsgroup'] . '#' . $id;
$newurl = 'article-flat.php?id=' . $id . '&group=' . urlencode($row['newsgroup']) . '#' . $id;
header("Location: $newurl");
die();
}