From dd60e016c6c7f9a19b831804d55b6d39321d4a2a Mon Sep 17 00:00:00 2001 From: smizrahi Date: Tue, 2 May 2023 13:32:23 +0200 Subject: [PATCH] fix(calendar): Fix Web Calendar (ics) subscription with authentication between SOGo instances not possible after upgrading from 5.7.0 to 5.8.2. Fixes #5753 --- SoObjects/SOGo/WORequest+SOGo.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoObjects/SOGo/WORequest+SOGo.m b/SoObjects/SOGo/WORequest+SOGo.m index d66a95021..b807fa0ab 100644 --- a/SoObjects/SOGo/WORequest+SOGo.m +++ b/SoObjects/SOGo/WORequest+SOGo.m @@ -251,7 +251,7 @@ b = ( ( - [[cc userAgent] rangeOfString: @"macOS/13"].location != NSNotFound + nil != [cc userAgent] && [[cc userAgent] rangeOfString: @"macOS/13"].location != NSNotFound && [[cc userAgent] rangeOfString: @"dataaccessd"].location != NSNotFound ) );