Encode group name in URL for (thread) links in overboard.php

This commit is contained in:
Retro_Guy 2022-01-05 03:38:48 +00:00
parent a9dd910a56
commit 9ac3731d60
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ foreach($files as $article) {
}
$this_output = '<p class=np_ob_subject>';
if($threadref) {
$this_output.= '<b><a href="'.$url.'">'.mb_decode_mimeheader($output[1]).'"</a></b><font class="np_ob_group"><a href="article-flat.php?id='.$refid[number].'&group='.$refid[newsgroup].'#'.$refid[number].'"> (thread)</a></font>'."\r\n";
$this_output.= '<b><a href="'.$url.'">'.mb_decode_mimeheader($output[1]).'"</a></b><font class="np_ob_group"><a href="article-flat.php?id='.$refid[number].'&group='.rawurlencode($refid[newsgroup]).'#'.$refid[number].'"> (thread)</a></font>'."\r\n";
} else {
$this_output.= '<b><a href="'.$url.'">'.mb_decode_mimeheader($output[1])."</a></b>\r\n";
}