mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 16:35:10 +00:00
@@ -6,6 +6,8 @@ Enhancements
|
||||
|
||||
Bug fixes
|
||||
- [web] saving the preferences was not possible when Mail module is disabled
|
||||
- [web] ignore mouse events in scrollbars of Month view (#3990)
|
||||
- [web] fixed public URL with special characters (#3993)
|
||||
|
||||
3.2.6a (2017-01-26)
|
||||
-------------------
|
||||
|
||||
@@ -471,10 +471,17 @@ static NSArray *childRecordFields = nil;
|
||||
{
|
||||
NSMutableArray *newPath;
|
||||
NSURL *davURL;
|
||||
unsigned int max, count;
|
||||
|
||||
davURL = [self realDavURL];
|
||||
newPath = [NSMutableArray arrayWithArray: [[davURL path] componentsSeparatedByString: @"/"]];
|
||||
[newPath insertObject: @"public" atIndex: 3];
|
||||
|
||||
max = [newPath count];
|
||||
for (count = 0; count < max; count++)
|
||||
[newPath replaceObjectAtIndex: count
|
||||
withObject: [[newPath objectAtIndex: count] stringByEscapingURL]];
|
||||
|
||||
davURL = [NSURL URLWithString: [newPath componentsJoinedByString: @"/"]
|
||||
relativeToURL: davURL];
|
||||
|
||||
@@ -495,9 +502,9 @@ static NSArray *childRecordFields = nil;
|
||||
publicParticle = @"";
|
||||
path = [NSString stringWithFormat: @"/%@/dav%@/%@/%@/%@/",
|
||||
appName, publicParticle,
|
||||
[self ownerInContext: nil],
|
||||
[container nameInContainer],
|
||||
[self realNameInContainer]];
|
||||
[[self ownerInContext: nil] stringByEscapingURL],
|
||||
[[container nameInContainer] stringByEscapingURL],
|
||||
[[self realNameInContainer] stringByEscapingURL]];
|
||||
currentDavURL = [self davURL];
|
||||
realDavURL = [NSURL URLWithString: path relativeToURL: currentDavURL];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user