Public bug reported:

When a journal entry is created and a string is added with DQUOTE
characters in it the RFC5545 says in 3.8.1.5 that the description syntax
is:

       description = "DESCRIPTION" descparam ":" text CRLF

'text' is described in 3.3.11 as:

       text       = *(TSAFE-CHAR / ":" / DQUOTE / ESCAPED-CHAR)
       
That is DQUOTE is not escaped.

But when   I create a journal entry (see screenshot) with DQUOTE in it
the iCalendar file created by Orage (using File->Exchange Data->export)
has the following....

BEGIN:VJOURNAL
UID:Orage-20150415T224001Z0-1000@sharron
CLASS:PUBLIC
DTSTAMP:20150415T224006Z
CREATED:20150415T224001Z
LAST-MODIFIED:20150415T224006Z
SUMMARY:A Journal Entry Orage
DESCRIPTION:All day\nCategory \"Foobar\"\n
CATEGORIES:Foobar
DTSTART;VALUE=DATE:20150416
END:VJOURNAL


Note the escaped DQUOTE characters in the description field.  It should be:

DESCRIPTION:All day\nCategory "Foobar"\n

** Affects: orage (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Screen shot of journal entry"
   
https://bugs.launchpad.net/bugs/1447874/+attachment/4382531/+files/OrageVJOURNAL.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1447874

Title:
  Escaping DQUOTE in text section (VJOURNAL/description)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/orage/+bug/1447874/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to