Handle special chars in link for message id search.
This commit is contained in:
parent
4136c62bfd
commit
448275cdd8
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue