mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
#12 Logfile::addLogFile() does not escape the given parameters
This commit is contained in:
parent
9994f8c18d
commit
b02da95c2f
@ -254,11 +254,14 @@ class Logfile {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(is_array($meldung)) {
|
if(is_array($meldung)) {
|
||||||
$meldung = $this->app->DB->real_escape_string(print_r($meldung, true));
|
$meldung = print_r($meldung, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Quick fix
|
$module = $this->app->DB->real_escape_string($module);
|
||||||
$dump = $this->app->DB->real_escape_string(print_r($dump, true));
|
$action = $this->app->DB->real_escape_string($action);
|
||||||
|
$meldung = $this->app->DB->real_escape_string($meldung);
|
||||||
|
$dump = $this->app->DB->real_escape_string($dump);
|
||||||
|
$functionname = $this->app->DB->real_escape_string($functionname);
|
||||||
|
|
||||||
$this->app->DB->Insert(
|
$this->app->DB->Insert(
|
||||||
sprintf(
|
sprintf(
|
||||||
|
Loading…
Reference in New Issue
Block a user