mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 00:45:09 +00:00
Monotone-Parent: 3d0bbe013d1b7a38886f0e3d1d62c9816e3e515a
Monotone-Revision: fc02a6979f68953ee505764e1eaec83c5676f0cb Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-02-03T14:56:38 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -221,7 +221,15 @@
|
||||
[login stringByEscapingURL]]];
|
||||
}
|
||||
else
|
||||
response = self;
|
||||
{
|
||||
oldLocation = [[context request] uri];
|
||||
if (![oldLocation hasSuffix: @"/"]
|
||||
&& ![oldLocation hasSuffix: @"/view"])
|
||||
response = [self redirectToLocation:
|
||||
[NSString stringWithFormat: @"%@/", oldLocation]];
|
||||
else
|
||||
response = self;
|
||||
}
|
||||
|
||||
return response;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user