Summary | setting $RECOMPOSE to true not possible when logged out |
Queue | IMP |
Queue Version | 4.3 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | slusarz (at) horde (dot) org |
Requester | coleman (at) boulder (dot) nist (dot) gov |
Created | 12/02/2008 (6060 days ago) |
Due | |
Updated | 12/14/2008 (6048 days ago) |
Assigned | 12/02/2008 (6060 days ago) |
Resolved | 12/14/2008 (6048 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Feedback
old method.
The IMP 4.x way of doing things breaks down in multiple ways - if
using the non-standard login page; if maintenance is performed on
login; if not using IMP auth.... It is pretty much useless. But I've
tried to make it work at least for the situation where IMP is
authenticating through the login page with no maintenance. Try the
patch (link is in the ticket history) and see if it helps.
http://cvs.horde.org/diff.php/imp/lib/base.php?r1=1.79.10.19&r2=1.79.10.20&ty=u
State ⇒ Assigned
Assigned to Michael Slusarz
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ setting $RECOMPOSE to true not possible when logged out
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
the section of code in imp/lib/base.php where $RECOMPOSE is set to
true can never be executed because $compose_page will always be false
when logged out.
On line 53 $compose_page will be set to false because $_SESSION['imp']
will be null after being logged out.
$compose_page = (isset($_SESSION['imp']['viewmode']) &&
$_SESSION['imp']['viewmode'] == 'imp') && strstr($_SERVER['PHP_SELF'],
'compose.php');
Line 102 and 122 will never be executed since lines 101 and 121 will
be false due to the results of line 53