From: Michael M Slusarz Date: Tue, 4 Aug 2009 06:59:17 +0000 (-0600) Subject: Fix popup JSON encoding X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=3e78fd9f697510d68491152e4aea9bb7e38c8d23;p=horde.git Fix popup JSON encoding --- diff --git a/imp/lib/Contents.php b/imp/lib/Contents.php index 907f4ad9f..b334803f1 100644 --- a/imp/lib/Contents.php +++ b/imp/lib/Contents.php @@ -764,7 +764,7 @@ class IMP_Contents $options['jstext'] = sprintf(_("View %s"), $mime_part->getDescription(true)); } - $url = Horde::popupJs(Horde::applicationUrl('view.php'), array('params' => $this->_urlViewParams($mime_part, $actionID, isset($options['params']) ? $options['params'] : array()))) . 'return false;'; + $url = Horde::popupJs(Horde::applicationUrl('view.php'), array('params' => $this->_urlViewParams($mime_part, $actionID, isset($options['params']) ? $options['params'] : array()), 'urlencode' => true)) . 'return false;'; return empty($options['widget']) ? Horde::link('#', $options['jstext'], empty($options['css']) ? null : $options['css'], null, $url) . $text . ''