Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.17
-
Fix Version/s: 4.7.19
-
Component/s: Core CiviCRM
-
Labels:
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
-
Verified?:No
Description
The Smarty modifier {crmICalText} is currently escaping double-quotes in TEXT values such that, for exmample, the string
Call me "foo".
is represented in an icalendar DESCRIPTION field like so:
DESCRIPTION:Call me DQUOTEfooDQUOTE.
The spec at https://tools.ietf.org/html/rfc2445#section-4.3.11 indicates that double and single need not be escaped at all, as does the example for the DESCRIPTION field (https://tools.ietf.org/html/rfc2445#section-4.8.1.5), so the correct representation would be
DESCRIPTION:Call me "foo".
Note that this is also mentioned tangentially in CRM-14785, which is actually about a slightly different aspect of escaping.
Attachments
Issue Links
- supplements
-
CRM-14785 iCalendar feeds needs html special characters removed or replaced
- Open
- links to