From 0f7499464586494165c1ebae472bf1b812c83c4d Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 17 Feb 2009 00:33:13 -0700 Subject: [PATCH] Bug #7926: Fix URL escaping --- imp/message.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } } } -- 2.11.0