[aur-dev] [PATCH] Remove double htmlspecialchars

Marcel Korpel marcel.lists at gmail.com
Wed Jan 9 12:48:57 EST 2013


This is already done in header.php; doing this double will result
in & in title element
---
 web/lib/aur.inc.php | 2 --
 1 file changed, 2 deletions(-)

diff --git a/web/lib/aur.inc.php b/web/lib/aur.inc.php
index 018d5c8..387d81d 100644
--- a/web/lib/aur.inc.php
+++ b/web/lib/aur.inc.php
@@ -303,8 +303,6 @@ function html_header($title="") {
 	global $LANG;
 	global $SUPPORTED_LANGS;
 
-	$title = htmlspecialchars($title, ENT_QUOTES);
-
 	include('header.php');
 	return;
 }
-- 
1.8.1



More information about the aur-dev mailing list