mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Fix 'Illegal character in query: space is not allowed.' html validation error
This commit is contained in:
parent
a2f7546e1f
commit
206c407724
@ -1087,7 +1087,7 @@ class news_shortcodes extends e_shortcode
|
||||
{
|
||||
if(trim($val))
|
||||
{
|
||||
$url = e107::getUrl()->create('news/list/tag',array('tag'=>$val)); // e_BASE."news.php?tag=".$val
|
||||
$url = e107::getUrl()->create('news/list/tag',array('tag'=>rawurlencode($val))); // e_BASE."news.php?tag=".$val
|
||||
$words[] = "<a class='".$class."' href='".$url."'>".$start.$val.$end."</a>";
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user