Security warning for an issue in the StaticController - still unfixed

This commit is contained in:
Thomas Gelf 2014-02-14 14:08:23 +00:00
parent d63fee064d
commit e00e5c9824
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ class StaticController extends ActionController
public function imgAction()
{
$module = $this->_getParam('module_name');
// TODO: This is more than dangerous, must be fixed!!
$file = $this->_getParam('file');
$basedir = Icinga::app()->getModuleManager()->getModule($module)->getBaseDir();