diff --git a/html/css/style-classic7.css b/html/css/style-classic7.css index 3976a56c0..d8057d772 100644 --- a/html/css/style-classic7.css +++ b/html/css/style-classic7.css @@ -419,9 +419,14 @@ div.content { @media (min-width: 992px) { div.content { padding:1.2rem; - + width: 95%; + padding:1rem; } } +div.content > div.content { + padding:0; + width:100%; +} /* XL */ @media (min-width: 1200px) { diff --git a/include/class/document.class.php b/include/class/document.class.php index 22ac7a0f6..240bda017 100644 --- a/include/class/document.class.php +++ b/include/class/document.class.php @@ -190,7 +190,7 @@ class Document chdir($dirname); $filename=($p_filename == "")?$row['md_filename']:$p_filename; - $filename= sanitize_filename($filename); + $filename= sanitize_filename($filename,false); $exp=$this->db->lo_export($row['md_lob'], $dirname.DIRECTORY_SEPARATOR.$filename); if ($exp===false) { diff --git a/include/class/noalyss_parameter_folder.class.php b/include/class/noalyss_parameter_folder.class.php index b3e48b7f7..22d7921ad 100644 --- a/include/class/noalyss_parameter_folder.class.php +++ b/include/class/noalyss_parameter_folder.class.php @@ -151,7 +151,7 @@ EOF; throw new \Exception ('Format facture invalide'); } default : - $ret_value=htmlspecialchars($p_value); + $ret_value= strip_tags($p_value); } return $ret_value; } diff --git a/include/compta_ach.inc.php b/include/compta_ach.inc.php index c7f997e90..aa0da73ce 100644 --- a/include/compta_ach.inc.php +++ b/include/compta_ach.inc.php @@ -206,7 +206,6 @@ if (isset($_POST['record'])) /* or a form for correcting */ // ------------------------------------------------------------- -echo '