From b37e68b8ee77c290005a560d55d68ab3fd1e8527 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Tue, 22 Mar 2022 10:41:31 -0400 Subject: [PATCH] fix(dav): use utf-8 as charset name instead of utf8 Fixes #5495 --- SoObjects/SOGo/SOGoObject.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoObjects/SOGo/SOGoObject.m b/SoObjects/SOGo/SOGoObject.m index fb1d9a056..9de8fe230 100644 --- a/SoObjects/SOGo/SOGoObject.m +++ b/SoObjects/SOGo/SOGoObject.m @@ -601,7 +601,7 @@ id etag; response = [localContext response]; - contentType = [NSString stringWithFormat: @"%@; charset=utf8", + contentType = [NSString stringWithFormat: @"%@; charset=utf-8", [self davContentType]]; [response setHeader: contentType forKey: @"content-type"]; [response appendContentString: [self contentAsString]];