Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect parsing of quoted-value #141

Open
Sense545 opened this issue Jul 7, 2024 · 0 comments
Open

Incorrect parsing of quoted-value #141

Sense545 opened this issue Jul 7, 2024 · 0 comments

Comments

@Sense545
Copy link

Sense545 commented Jul 7, 2024

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:[email protected]
parses as:

{
  params: {
    ROLE: 'REQ-PARTICIPANT',
    CN: '"Test"',
    'X-RESPONSE-COMMENT': '"test&quot'
  },
  val: 'MAILTO:[email protected]'
}

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant