From: <pdo...@us...> - 2009-08-08 20:15:27
|
Revision: 13812 http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=13812&view=rev Author: pdontthink Date: 2009-08-08 20:15:19 +0000 (Sat, 08 Aug 2009) Log Message: ----------- Don't encode stuff that's used in hyperlink addresses Modified Paths: -------------- trunk/squirrelmail/functions/attachment_common.php Modified: trunk/squirrelmail/functions/attachment_common.php =================================================================== --- trunk/squirrelmail/functions/attachment_common.php 2009-08-08 19:23:59 UTC (rev 13811) +++ trunk/squirrelmail/functions/attachment_common.php 2009-08-08 20:15:19 UTC (rev 13812) @@ -223,7 +223,7 @@ $attachment_common_show_images_list[] = $info; - $Args[0]['attachment_common']['href'] = $base_uri . 'src/image.php?'. htmlspecialchars($QUERY_STRING); + $Args[0]['attachment_common']['href'] = $base_uri . 'src/image.php?'. $QUERY_STRING; $Args[0]['attachment_common']['href'] = set_url_var($Args[0]['attachment_common']['href'], 'ent_id',$Args[4]); @@ -242,7 +242,7 @@ global $base_uri; sqgetGlobalVar('QUERY_STRING', $QUERY_STRING, SQ_SERVER); - $Args[0]['attachment_common']['href'] = $base_uri . 'src/vcard.php?'. htmlspecialchars($QUERY_STRING); + $Args[0]['attachment_common']['href'] = $base_uri . 'src/vcard.php?'. $QUERY_STRING; $Args[0]['attachment_common']['href'] = set_url_var($Args[0]['attachment_common']['href'], 'ent_id',$Args[4]); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |