[Svn] r6128 - trunk/roundcubemail

trac at roundcube.net trac at roundcube.net
Thu Apr 26 14:23:41 CEST 2012


Author: alec
Date: 2012-04-26 07:23:41 -0500 (Thu, 26 Apr 2012)
New Revision: 6128

Modified:
   trunk/roundcubemail/index.php
Log:
- Fix redirect to mail/compose on re-login (1488226)


Modified: trunk/roundcubemail/index.php
===================================================================
--- trunk/roundcubemail/index.php	2012-04-25 17:35:55 UTC (rev 6127)
+++ trunk/roundcubemail/index.php	2012-04-26 12:23:41 UTC (rev 6128)
@@ -129,6 +129,10 @@
       // prevent endless looping on login page
       if ($query['_task'] == 'login')
         unset($query['_task']);
+
+      // prevent redirect to compose with specified ID (#1488226)
+      if ($query['_action'] == 'compose' && !empty($query['_id']))
+        $query = array();
     }
 
     // allow plugins to control the redirect url after login success



More information about the svn mailing list