use Perl's function for this. Don't know what I was thinking.
[squirrelmail.git] / src / image.php
index b27a47244774da1e023e144bad29483da5faf15a..5702e44809cc15b04d7f97097f272de8fa63e096 100644 (file)
@@ -37,7 +37,7 @@ echo '<BR>' .
     '<B><CENTER>' .
     _("Viewing an image attachment") . " - ";
 
-$msg_url = 'read_body.php?' . urlencode(strip_tags(urldecode($QUERY_STRING)));
+$msg_url = 'read_body.php?' . $QUERY_STRING;
 $msg_url = set_url_var($msg_url, 'ent_id', 0);
 echo '<a href="'.$msg_url.'">'. _("View message") . '</a>';