diff --git a/UI/SOGoUI/UIxComponent.m b/UI/SOGoUI/UIxComponent.m index 9c179e8b3..52f05e55c 100644 --- a/UI/SOGoUI/UIxComponent.m +++ b/UI/SOGoUI/UIxComponent.m @@ -269,7 +269,7 @@ static BOOL uixDebugEnabled = NO; uri = [uri substringToIndex:r.location]; /* next: strip trailing slash */ - + if ([uri hasSuffix: @"/"]) uri = [uri substringToIndex: ([uri length] - 1)]; r = [uri rangeOfString:@"/" options: NSBackwardsSearch];