mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-19 02:08:11 +00:00
(fix) avoid broken redirects on sessions expiration
This commit is contained in:
1 parent
e88ce682f3
commit
adc227a7eb
2 files changed
+8
-1
No files matched your search
@@ -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