diff --git a/libraries/joomla/application/module/helper.php b/libraries/joomla/application/module/helper.php index 2cb23a384f..b869c8157c 100644 --- a/libraries/joomla/application/module/helper.php +++ b/libraries/joomla/application/module/helper.php @@ -452,7 +452,8 @@ public static function moduleCache($module, $moduleparams, $cacheparams) // Use int filter for id/catid to clean out spamy slugs if (isset($uri[$key])) { - $safeuri->$key = JRequest::_cleanVar($uri[$key], 0, $value); + $noHtmlFilter = JFilterInput::getInstance(); + $safeuri->$key = $noHtmlFilter->clean($uri[$key], $value); } } }