[Fusionforge-commits] r9050 - branches/Branch_5_0/gforge/common/tracker
Alain Peyrat
aljeux at libremir.placard.fr.eu.org
Fri Mar 12 16:01:53 CET 2010
Author: aljeux
Date: 2010-03-12 16:01:53 +0100 (Fri, 12 Mar 2010)
New Revision: 9050
Modified:
branches/Branch_5_0/gforge/common/tracker/Artifact.class.php
Log:
Fix re-encoded summary & description when adding a comment
Modified: branches/Branch_5_0/gforge/common/tracker/Artifact.class.php
===================================================================
--- branches/Branch_5_0/gforge/common/tracker/Artifact.class.php 2010-03-12 14:59:27 UTC (rev 9049)
+++ branches/Branch_5_0/gforge/common/tracker/Artifact.class.php 2010-03-12 15:01:53 UTC (rev 9050)
@@ -813,8 +813,8 @@
} else {
//everyone else cannot modify these fields
$priority=$this->getPriority();
- $summary=addslashes($this->getSummary());
- $description=addslashes($this->getDetails());
+ $summary=htmlspecialchars_decode($this->getSummary());
+ $description=htmlspecialchars_decode($this->getDetails());
$canned_response=100;
$new_artifact_type_id=$this->ArtifactType->getID();
$assigned_to=$this->getAssignedTo();
More information about the Fusionforge-commits
mailing list