[evolvis-commits] r17257: merge bm:taramir51/patches/xhtml-improvements

mirabilos at evolvis.org mirabilos at evolvis.org
Mon May 16 15:09:22 CEST 2011


Author: mirabilos
Date: 2011-05-16 15:09:22 +0200 (Mon, 16 May 2011)
New Revision: 17257

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/common/include/Navigation.class.php
   trunk/gforge_base/evolvisforge-5.1/src/common/include/utils_crossref.php
Log:
merge bm:taramir51/patches/xhtml-improvements

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/include/Navigation.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/include/Navigation.class.php	2011-05-16 13:09:18 UTC (rev 17256)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/include/Navigation.class.php	2011-05-16 13:09:22 UTC (rev 17257)
@@ -111,9 +111,10 @@
                         $feeds = $this->getRSS(false);
                         for ($j = 0; $j < count($feeds['urls']); $j++) {
                                 echo '
-                                <link rel="alternate" title="' . $feeds['titles'][$j] 
-					. '" href="' . $feeds['urls'][$j] 
-					. '" type="application/rss+xml"/>';
+                                <link rel="alternate" title="' .
+				    util_html_secure($feeds['titles'][$j]) .
+				    '" href="' . $feeds['urls'][$j] .
+				    '" type="application/rss+xml"/>';
                         }
                 }
         }

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/include/utils_crossref.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/include/utils_crossref.php	2011-05-16 13:09:18 UTC (rev 17256)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/include/utils_crossref.php	2011-05-16 13:09:22 UTC (rev 17257)
@@ -58,7 +58,7 @@
 	if (db_numrows($res) == 1) {
 		$row = db_fetch_array($res);
 		$url = '/tracker/?func=detail&aid='.$id.'&group_id='.$row['group_id'].'&atid='.$row['group_artifact_id'];
-		$arg = 'title="'.$row['summary'].'"' ;
+		$arg = 'title="'.util_html_secure($row['summary']).'"' ;
 		if ($row['status_id'] == 2) {
 			$arg .= 'class="artifact_closed"'; 
 		}



More information about the evolvis-commits mailing list