Donate Share

iCal4j

Tracker: Bugs

5 Quoted property values still have the "" on each end - ID: 1580302
Last Update: Settings changed ( fortuna )

I'm not sure if this is by design, but intuitively I
expected properties to figure out escaping internally.
For example, if my calendar contains the following:

ORGANIZER;CN="xxx":MAILTO:[email address]

I would expect that when I retrieved the "CN" property
via the API, I would get back "xxx", but not with
surrounding quotes. That is an escaping issue - iCal4j
should automatically escape any string I pass in, and
should unescape any which have been quoted.

Your position may differ, of course, but that was my
expectation, and it seems that reality != theory...


David Peterson ( bitmeizer ) - 2006-10-19 08:02

5

Closed

Fixed

Ben Fortuna

Parsing

Pre-release (0.9)

Public


Comments ( 3 )

Date: 2007-02-12 23:57
Sender: bitmeizer


Since the bug was reported a few days after the fix was checked in, most
likely I was not using the corrected code. That said, I can't easily
confirm or deny it's still working since I don't have a test case handy...

Consider it closed for now - if I come across the problem again with a
more recent version I'll create a new bug report.


Date: 2007-02-10 08:11
Sender: fortunaProject Admin


Is this still an issue? I'm looking at a change I made on 8/10/06 whereby
CN parameters will unquote value strings in the constructor. I've added a
unit test to confirm this also.

regards,
ben



Date: 2007-02-06 18:33
Sender: irekovic


I must agree that this could be changed, since quotes (as per rfc) serve
only to delimit values that have separators (',', ';', ':') in them


Attached File

No Files Currently Attached

Changes ( 7 )

Field Old Value Date By
status_id Open 2007-02-13 00:01 fortuna
close_date - 2007-02-13 00:01 fortuna
status_id Pending 2007-02-12 23:57 bitmeizer
close_date 2007-02-10 08:11 2007-02-12 23:57 bitmeizer
resolution_id None 2007-02-10 08:11 fortuna
close_date - 2007-02-10 08:11 fortuna
status_id Open 2007-02-10 08:11 fortuna