mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 08:44:10 +02:00
Security warning for an issue in the StaticController - still unfixed
This commit is contained in:
parent
d63fee064d
commit
e00e5c9824
@ -61,6 +61,7 @@ class StaticController extends ActionController
|
|||||||
public function imgAction()
|
public function imgAction()
|
||||||
{
|
{
|
||||||
$module = $this->_getParam('module_name');
|
$module = $this->_getParam('module_name');
|
||||||
|
// TODO: This is more than dangerous, must be fixed!!
|
||||||
$file = $this->_getParam('file');
|
$file = $this->_getParam('file');
|
||||||
|
|
||||||
$basedir = Icinga::app()->getModuleManager()->getModule($module)->getBaseDir();
|
$basedir = Icinga::app()->getModuleManager()->getModule($module)->getBaseDir();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user