Monotone-Parent: 3d0bbe013d1b7a38886f0e3d1d62c9816e3e515a

Monotone-Revision: fc02a6979f68953ee505764e1eaec83c5676f0cb

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-02-03T14:56:38
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2010-02-03 14:56:38 +00:00
parent 141c9938b6
commit 9b8d2bd38c
2 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-02-03 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/MainUI/SOGoRootPage.m (-_standardDefaultAction): add an
ending "/" to the active url to avoid a mismatch with the login
cookie path.
2010-02-02 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Contacts/SOGoContactLDIFEntry.m

View File

@ -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;
}