[evolvis-commits] r18265: [#2498] fix HTML not escaped properly

mirabilos at evolvis.org mirabilos at evolvis.org
Tue Apr 10 16:37:24 CEST 2012


Author: mirabilos
Date: 2012-04-10 16:37:24 +0200 (Tue, 10 Apr 2012)
New Revision: 18265

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/www/pm/templates/detail_template.php
Log:
[#2498] fix HTML not escaped properly

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/pm/templates/detail_template.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/pm/templates/detail_template.php	2012-04-10 14:37:20 UTC (rev 18264)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/pm/templates/detail_template.php	2012-04-10 14:37:24 UTC (rev 18265)
@@ -136,7 +136,7 @@
 						<?php foreach($this->_['commits'] as $commit) { ?>
 							<tr>
 								<td><?php echo $commit['group_name']; ?></td>
-								<td><a href="<?php echo $commit['href']; ?>" target="_blank" title="<?php _('Link to version control repository')?>" /><?php echo $commit['revision']; ?></a></td>
+								<td><a href="<?php echo util_html_encode($commit['href'];) ?>" target="_blank" title="<?php _('Link to version control repository')?>" /><?php echo $commit['revision']; ?></a></td>
 							</tr>
 						<?php } ?>
 					</table>



More information about the evolvis-commits mailing list