This needs to be a full URL, because it may appear inside of an IFRAME
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 19 Oct 2009 18:36:22 +0000 (12:36 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 20 Oct 2009 04:37:51 +0000 (22:37 -0600)
imp/lib/Contents.php

index 9ba9108..9cc4cb9 100644 (file)
@@ -678,7 +678,7 @@ class IMP_Contents
         $params = $this->_urlViewParams($mime_part, $actionID, isset($options['params']) ? $options['params'] : array());
 
         return empty($options['dload'])
-            ? Horde_Util::addParameter(Horde::applicationUrl('view.php'), $params)
+            ? Horde_Util::addParameter(Horde::applicationUrl('view.php', true), $params)
             : Horde::downloadUrl($mime_part->getName(true), $params);
     }