Skip to content

Commit

Permalink
fix(dav): use utf-8 as charset name instead of utf8
Browse files Browse the repository at this point in the history
Fixes #5495
  • Loading branch information
cgx committed Mar 22, 2022
1 parent 38ace5e commit b37e68b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SoObjects/SOGo/SOGoObject.m
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ - (WOResponse *) _webDAVResponse: (WOContext *) localContext
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]];
Expand Down

0 comments on commit b37e68b

Please sign in to comment.