[imp] Cookies and Frameset in redirect.php

Mike Bydalek mbydalek at zivix.com
Tue Dec 30 17:33:38 PST 2003


I've noticed recently in setting up a more stripped down version of Horde (just
IMP, Mnemo and Kronolith) that there seems to be a problem with IMP and the
horde frameset in redirect.php

Below is a patch that (I think) fixes the problem.

-Mike

*** redirect.php.orig   Tue Dec 30 20:29:16 2003
--- redirect.php        Mon Dec 29 19:35:16 2003
***************
*** 1,13 ****
  <?php
  /**
! * $Horde: imp/redirect.php,v 1.86 2003/09/16 23:05:03 jan Exp $
! *
! * Copyright 1999-2003 Charles J. Hagenbuch <chuck at horde.org>
! * Copyright 1999-2003 Jon Parise <jon at horde.org>
! *
! * See the enclosed file COPYING for license information (GPL).  If you
! * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
! */

  @define('IMP_BASE', dirname(__FILE__));
  $authentication = 'none';
--- 1,13 ----
  <?php
  /**
!  * $Horde: imp/redirect.php,v 1.87 2003/12/01 01:08:38 chuck Exp $
!  *
!  * Copyright 1999-2003 Charles J. Hagenbuch <chuck at horde.org>
!  * Copyright 1999-2003 Jon Parise <jon at horde.org>
!  *
!  * See the enclosed file COPYING for license information (GPL).  If you
!  * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
!  */

  @define('IMP_BASE', dirname(__FILE__));
  $authentication = 'none';
***************
*** 134,140 ****
              $url = Util::addParameter($url, 'no_newmail_popup', 1);
          }

!         $full_url = Horde::applicationUrl($registry->getParam
('webroot', 'horde') . '/index.php', true);
          $full_url = Util::addParameter($full_url, 'url', $url);

          header('Location: ' . $full_url);
--- 134,140 ----
              $url = Util::addParameter($url, 'no_newmail_popup', 1);
          }

!         $full_url = Horde::applicationUrl($registry->getParam
('webroot', 'imp') . '/index.php', true);
          $full_url = Util::addParameter($full_url, 'url', $url);

          header('Location: ' . $full_url);
***************
*** 150,153 ****

  /* No session, and no login attempt. Just go to the login page. */
  require IMP_BASE . '/login.php';
-
--- 150,152 ----


More information about the imp mailing list