From 0307b8339a9de48340eb11a4a81176315b7fe69d Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Mon, 10 Feb 2014 13:45:51 -0500 Subject: [PATCH] Detect URLs in popup of events --- NEWS | 1 + UI/Scheduler/UIxAppointmentEditor.m | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index cd582679f..0782818e9 100644 --- a/NEWS +++ b/NEWS @@ -29,6 +29,7 @@ Enhancements - moved the DN cache to SOGoCache - avoiding sogod restarts after RDN operations - don't use the HTML editor with Internet Explorer 7 - add message-id header to appointment notifications (#2535) + - detect URLs in popup of events Bug fixes - don't load 'background' attribute (#2437) diff --git a/UI/Scheduler/UIxAppointmentEditor.m b/UI/Scheduler/UIxAppointmentEditor.m index 2c371c5fe..5f40e2396 100644 --- a/UI/Scheduler/UIxAppointmentEditor.m +++ b/UI/Scheduler/UIxAppointmentEditor.m @@ -530,7 +530,7 @@ [[event summary] stringByEscapingHTMLString], @"summary", [[event location] stringByEscapingHTMLString], @"location", [created_by stringByEscapingHTMLString], @"created_by", - [[event comment] stringByEscapingHTMLString], @"description", + [[[event comment] stringByEscapingHTMLString] stringByDetectingURLs], @"description", nil]; [result appendContentString: [data jsonRepresentation]];