diff --git a/include/class_IconTheme.inc b/include/class_IconTheme.inc index 5b956c5e5bb7e346a21918d13a2f33ebf142b963..a4dcaf6dd35fb6e9cb4e56edcd8d8653b2338741 100644 --- a/include/class_IconTheme.inc +++ b/include/class_IconTheme.inc @@ -230,7 +230,6 @@ class IconTheme static public function findThemeIcon ($theme, $context, $icon, $size) { - // We have to sanitize the $icon received from $_GET['icon']. Fixing vulnerability : CWE-35 if (!preg_match('/^[a-zA-Z0-9_\-]+$/', $icon)) { trigger_error('Error: Wrong icon name received');