mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Fixes #3162 Fixes double encoding of the param values.
This commit is contained in:
@@ -1153,7 +1153,9 @@ class news_shortcodes extends e_shortcode
|
||||
{
|
||||
if(trim($val))
|
||||
{
|
||||
$url = e107::getUrl()->create('news/list/tag',array('tag'=>rawurlencode($val))); // e_BASE."news.php?tag=".$val
|
||||
//$url = e107::getUrl()->create('news/list/tag',array('tag'=>rawurlencode($val))); // e_BASE."news.php?tag=".$val
|
||||
// will be encoded during create()
|
||||
$url = e107::getUrl()->create('news/list/tag',array('tag'=>$val)); // e_BASE."news.php?tag=".$val
|
||||
$words[] = "<a class='".$class."' href='".$url."'>".$start.$val.$end."</a>";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user