Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- Fix redirect to mail/compose on re-login (1488226)

  • Loading branch information...
commit d2191c619f261c4149b0a8949d35167b9269f00b 1 parent ee5569c
@alecpl alecpl authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 index.php
View
4 index.php
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.