diff --git a/SoObjects/SOGo/WOContext+SOGo.m b/SoObjects/SOGo/WOContext+SOGo.m index 35e3a9d90..1b5c0692a 100644 --- a/SoObjects/SOGo/WOContext+SOGo.m +++ b/SoObjects/SOGo/WOContext+SOGo.m @@ -46,6 +46,11 @@ if ([theme length] > 0) { + if ([theme hasSuffix: @"/"]) + { + // Remove trailing slash + theme = [theme substringToIndex: [theme length] - 1]; + } [languages addObject: [NSString stringWithFormat: @"theme_%@", theme]]; [self setObject: theme forKey: @"theme"]; }