Details
-
Type: Bug
-
Status: Open
-
Priority: Trivial
-
Resolution: Unresolved
-
Affects Version/s: 4.4.5
-
Fix Version/s: Unscheduled
-
Component/s: Core CiviCRM
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
Description
In CRM/Utils/ICalendar.php
formatText function does this:
$text = str_replace("\"", "DQUOTE", $text);
$text = str_replace("
", "\\\\", $text);
$text = str_replace(",", "\,", $text);
$text = str_replace(";", "\;", $text);
However HTML characters (like ) are converted to  \; and subsequently in the Calendar feed it will show up as "blah blah"
We should (probably) do the following:
$text = html_decode($text);
then do the str_replaces.
Attachments
Issue Links
- is supplemented by
-
CRM-20350 Incorrect escaping of double-quotes in iCalendar text values
- Done/Fixed