From 5899335c34b3067f3b2cad4f7a5c541709ea31fb Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sat, 8 Aug 2009 20:15:19 +0000 Subject: [PATCH] Don't encode stuff that's used in hyperlink addresses git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13812 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/attachment_common.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/attachment_common.php b/functions/attachment_common.php index 5cb395e4..8ef7d76f 100644 --- a/functions/attachment_common.php +++ b/functions/attachment_common.php @@ -223,7 +223,7 @@ function attachment_common_link_image(&$Args) { $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 @@ function attachment_common_link_vcard(&$Args) { 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]); -- 2.25.1