(fix) consider DAVx5 like Apple Calendar (fixes #4304)

This commit is contained in:
Ludovic Marcotte
2019-03-21 14:08:44 -04:00
parent fcdc4c92c0
commit 96bcbbdc14
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -17,6 +17,7 @@ Bug fixes
- [core] handle multidays events in freebusy data
- [core] avoid exception on recent GNUstep when attached file has no filename (#4702)
- [core] avoid generating broken DTSTART for the freebusy.ifb file (#4289)
- [core] consider DAVx5 like Apple Calendar (#4304)
4.0.7 (2019-02-27)
------------------
+6 -1
View File
@@ -130,10 +130,15 @@
//
- (BOOL) isICal
{
WEClientCapabilities *cc;
cc = [self clientCapabilities];
return ([self isAppleDAVWithSubstring: @"Mac OS X/10."]
|| [self isAppleDAVWithSubstring: @"Mac_OS_X/"]
|| [self isAppleDAVWithSubstring: @"Mac+OS+X/"]
|| [self isAppleDAVWithSubstring: @"CoreDAV/"]);
|| [self isAppleDAVWithSubstring: @"CoreDAV/"]
|| [[cc userAgent] rangeOfString: @"DAVx5"].location != NSNotFound);
}
//