Skip to content

Commit

Permalink
fix(core): always set the charset when sending IMIP replies
Browse files Browse the repository at this point in the history
  • Loading branch information
extrafu committed Jun 12, 2020
1 parent 40d8e72 commit 6ec002f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
4 changes: 1 addition & 3 deletions SoObjects/Appointments/SOGoAptMailICalReply.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/* SOGoAptMailICalReply.h - this file is part of SOGo
*
* Copyright (C) 2007 Inverse inc.
*
* Author: Wolfgang Sourdeau <[email protected]>
* Copyright (C) 2007-2020 Inverse inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down
4 changes: 1 addition & 3 deletions SoObjects/Appointments/SOGoAptMailICalReply.m
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/* SOGoAptMailICalReply - this file is part of SOGo
*
* Copyright (C) 2010-2012 Inverse inc.
*
* Author: Wolfgang Sourdeau <[email protected]>
* Copyright (C) 2010-2020 Inverse inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion SoObjects/Appointments/SOGoAptMailNotification.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2006-2019 Inverse inc.
Copyright (C) 2006-2020 Inverse inc.
Copyright (C) 2000-2005 SKYRIX Software AG
This file is part of SOGo.
Expand Down
3 changes: 2 additions & 1 deletion SoObjects/Appointments/SOGoCalendarComponent.m
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,8 @@ - (void) _sendIMIPReplyForEvent: (iCalRepeatableEntityObject *) event
[headerMap setObject: @"1.0" forKey: @"MIME-Version"];

if (textOnly)
[headerMap setObject: @"text/html" forKey: @"content-type"];
[headerMap setObject: @"text/html; charset=utf-8"
forKey: @"content-type"];
else
[headerMap setObject: @"multipart/mixed" forKey: @"content-type"];

Expand Down

0 comments on commit 6ec002f

Please sign in to comment.