Escape HTML in raw source of events and tasks

Fixes #3718
This commit is contained in:
Francis Lachapelle
2016-06-08 16:06:58 -04:00
parent 97e6385f4c
commit 64ce3c9c22
3 changed files with 8 additions and 7 deletions

View File

@@ -875,7 +875,7 @@ static NSArray *reminderValues = nil;
[content appendFormat: @"%@", [[self clientObject] contentAsString]];
[response setHeader: @"text/plain; charset=utf-8"
forKey: @"content-type"];
[response appendContentString: content];
[response appendContentString: [content stringByEscapingHTMLString]];
return response;
}