mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-06 20:15:26 +00:00
bugFix #0002616 : change the behavior of ApplicationBaseURL. Now the object return a standard path(without a slash at the end of the path) That means every string added the URL ApplicationBaseURL must start with a Slash.
This commit is contained in:
@@ -359,6 +359,7 @@ static SoProduct *commonProduct = nil;
|
||||
{
|
||||
SOGoObject *currentClient, *parent;
|
||||
BOOL found;
|
||||
NSString *hostLessURL;
|
||||
Class objectClass, userFolderClass;
|
||||
// , groupFolderClass
|
||||
|
||||
@@ -386,8 +387,10 @@ static SoProduct *commonProduct = nil;
|
||||
}
|
||||
else
|
||||
currentClient = [WOApplication application];
|
||||
|
||||
hostLessURL = [[currentClient baseURLInContext: context] hostlessURL];
|
||||
|
||||
return [[currentClient baseURLInContext: context] hostlessURL];
|
||||
return [hostLessURL substringToIndex: [hostLessURL length] - 1];
|
||||
}
|
||||
|
||||
- (NSString *) ownPath
|
||||
|
||||
Reference in New Issue
Block a user