From 206c4077244fc66f9391aed0fc39f05ed615bcab Mon Sep 17 00:00:00 2001 From: "Arun S. Sekher" Date: Mon, 12 Jun 2017 02:28:03 +0400 Subject: [PATCH] Fix 'Illegal character in query: space is not allowed.' html validation error --- e107_core/shortcodes/batch/news_shortcodes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_core/shortcodes/batch/news_shortcodes.php b/e107_core/shortcodes/batch/news_shortcodes.php index a95551abb..f597658a3 100644 --- a/e107_core/shortcodes/batch/news_shortcodes.php +++ b/e107_core/shortcodes/batch/news_shortcodes.php @@ -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[] = "".$start.$val.$end.""; } }