mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-02 23:34:21 +00:00
(fix) avoid broken redirects on sessions expiration
This commit is contained in:
@@ -364,6 +364,9 @@ static SoProduct *commonProduct = nil;
|
||||
|
||||
baseURL = [[self clientObject] baseURLInContext: context];
|
||||
|
||||
if (!baseURL)
|
||||
baseURL = @"/SOGo/so/";
|
||||
|
||||
if ([baseURL hasSuffix: [NSString stringWithFormat: @"%@/", [[self parent] modulePath]]])
|
||||
return baseURL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user