mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 14:57:12 +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:
1 parent
141c9938b6
commit
9b8d2bd38c
2 files changed
+15
-1
No files matched your search
@@ -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