Skip to content

Incorrect parsing of quoted-value #141

@Sense545

Description

@Sense545

Got this error when using colons and double quotes in a "note"-reply in Google Calendar.
ATTENDEE;ROLE=REQ-PARTICIPANT;CN="Test";X-RESPONSE-COMMENT="test"quoted"string:with-colon":MAILTO:test@example.com
parses as:

{
  params: {
    ROLE: 'REQ-PARTICIPANT',
    CN: '"Test"',
    'X-RESPONSE-COMMENT': '"test&quot'
  },
  val: 'MAILTO:test@example.com'
}

kewisch/ical.js correctly parses and unquotes the value into test"quoted"string:with-colon

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions