From: Michael M Slusarz Date: Tue, 17 Feb 2009 07:33:13 +0000 (-0700) Subject: Bug #7926: Fix URL escaping X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=0f7499464586494165c1ebae472bf1b812c83c4d;p=horde.git Bug #7926: Fix URL escaping --- diff --git a/imp/message.php b/imp/message.php index 9408386ad..9838ac01a 100644 --- a/imp/message.php +++ b/imp/message.php @@ -684,7 +684,7 @@ if (!IMP::$printMode) { if (count($display_ids) > 2) { $a_template->set('download_all', Horde::widget($imp_contents->urlView($imp_contents->getMIMEMessage(), 'download_all'), _("Download All Attachments (in .zip file)"), 'widget', '', '', _("Download All Attachments (in .zip file)"), true)); if ($strip_atc) { - $a_template->set('strip_all', Horde::widget(htmlspecialchars(Util::addParameter(Util::removeParameter(Horde::selfUrl(true), array('actionID')), array('actionID' => 'strip_all', 'message_token' => $message_token))), _("Strip All Attachments"), 'widget', '', "return window.confirm('" . addslashes(_("Are you sure you wish to PERMANENTLY delete all attachments?")) . "');", _("Strip All Attachments"), true)); + $a_template->set('strip_all', Horde::widget(htmlspecialchars(html_entity_decode(Util::addParameter(Util::removeParameter(Horde::selfUrl(true), array('actionID')), array('actionID' => 'strip_all', 'message_token' => $message_token)))), _("Strip All Attachments"), 'widget', '', "return window.confirm('" . addslashes(_("Are you sure you wish to PERMANENTLY delete all attachments?")) . "');", _("Strip All Attachments"), true)); } } }