Open WhyNotHugo opened 7 years ago
This may be related to #197, but I don't think this is binary data (is it?).
Try https://github.com/collective/icalendar/pull/207 and see if it's gone.
Nope, exact same error with that branch. :(
The problem here are the quoted " around the A, by my reading of the RFC, Ayacucho 983\\nPlata Baja \"A\"\\nC1111AAC CABA\\nArgentina\\nArgentina
is a property parameter and as the RFC states Property parameter values MUST NOT contain the DQUOTE character
, this is not a valid icalendar file. If you can reproduce this, I you might want to file a bug with apple.
Ugh, yes, it's trivial to reproduce. I'll open up an issue there.
In the meantime, I wonder if we can skip unknown lines and parse the rest. At least then lines start with X-
.
There'd have to be some way to inform of the mis-parse to the end-user though. Maybe a flag when parsing to actually enable this behaviour?
Parsing this [apparently] valid file fails/crashes:
Traceback: