[Fusionforge-commits] r9008 - trunk/gforge/common/docman

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Wed Mar 10 21:50:08 CET 2010


Author: aljeux
Date: 2010-03-10 21:50:07 +0100 (Wed, 10 Mar 2010)
New Revision: 9008

Modified:
   trunk/gforge/common/docman/Document.class.php
Log:
Fix docman (slash problem)

Modified: trunk/gforge/common/docman/Document.class.php
===================================================================
--- trunk/gforge/common/docman/Document.class.php	2010-03-10 15:45:42 UTC (rev 9007)
+++ trunk/gforge/common/docman/Document.class.php	2010-03-10 20:50:07 UTC (rev 9008)
@@ -494,7 +494,7 @@
 			$kwords = $kw->get_parse_data (stripslashes($data1), htmlspecialchars($title), htmlspecialchars($description), $filetype);
 
 			$res = db_query_params ('UPDATE doc_data SET data=$1, filesize=$2, data_words=$3 WHERE group_id=$4 AND docid=$5',
-						array (base64_encode(stripslashes($data)),
+						array (base64_encode($data),
 						       strlen($data),
 						       $kwords,
 						       $this->Group->getID(),




More information about the Fusionforge-commits mailing list