(fix) avoid broken redirects on sessions expiration

This commit is contained in:
Ludovic Marcotte
2016-04-11 14:53:17 -04:00
parent e88ce682f3
commit adc227a7eb
2 changed files with 8 additions and 1 deletions
+3
View File
@@ -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;