mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Debug v20
This commit is contained in:
parent
9153636e02
commit
7d46d4c173
|
|
@ -33,7 +33,7 @@ function getHtmlOfLayout($name)
|
|||
global $conf, $mysoc, $user, $langs;
|
||||
|
||||
$substitutionarray = array();
|
||||
$substitutionarray = getCommonSubstitutionArray($langs, $substitutionarray);
|
||||
$substitutionarray = getCommonSubstitutionArray($langs, 1);
|
||||
|
||||
// TODO Read template from a file "install/doctemplates/maillayout/xxx.html"
|
||||
|
||||
|
|
|
|||
|
|
@ -280,7 +280,7 @@ function analyseVarsForSqlAndScriptsInjection(&$var, $type, $stopcode = 1)
|
|||
//$errormessage .= ' paramkey='.htmlentities($key, ENT_COMPAT, 'UTF-8'); // Disabled to avoid text injection
|
||||
|
||||
$errormessage2 = 'page='.htmlentities((empty($_SERVER["REQUEST_URI"]) ? '' : $_SERVER["REQUEST_URI"]), ENT_COMPAT, 'UTF-8');
|
||||
$errormessage2 .= ' paramtype='.htmlentities($type, ENT_COMPAT, 'UTF-8');
|
||||
$errormessage2 .= ' paramtype='.htmlentities((string) $type, ENT_COMPAT, 'UTF-8');
|
||||
$errormessage2 .= ' paramkey='.htmlentities($key, ENT_COMPAT, 'UTF-8');
|
||||
$errormessage2 .= ' paramvalue='.htmlentities($value, ENT_COMPAT, 'UTF-8');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user