From 0fbf387482498a6d0ddf4da159d1fe891f7dfade Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 3 Aug 2008 23:02:12 +0000 Subject: [PATCH] Fix: Security hole --- htdocs/dossier/client/fiche.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/htdocs/dossier/client/fiche.php b/htdocs/dossier/client/fiche.php index a9233f1b748..c1ea654eac0 100644 --- a/htdocs/dossier/client/fiche.php +++ b/htdocs/dossier/client/fiche.php @@ -15,16 +15,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ - * $Source$ - * */ /** \file htdocs/dossier/client/fiche.php \brief Page des dossiers clients - \version $Revision$ + \version $Id$ */ require("./pre.inc.php"); @@ -77,12 +73,14 @@ if ($_GET["facid"]) if (file_exists($file_img)) { - print '
'; + // image.php has been deleted because was a serious security hole + // All image output must be throw wrapper viewimage.php + print '
'; } } $db->close(); -llxFooter("Dernière modification $Date$ révision $Revision$"); +llxFooter('$Date$ - $Revision$'); ?>