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

Parser enforces CRLF #12

Open
emersion opened this issue Feb 10, 2020 · 3 comments
Open

Parser enforces CRLF #12

emersion opened this issue Feb 10, 2020 · 3 comments

Comments

@emersion
Copy link

Sorry for creating that many issues. I don't expect you to fix them. :P


The parser chokes on inputs which use LF instead of CRLF. While this isn't RFC-compliant (and a formatter should really use CRLF), some existing iCal files in the wild using LF already exist. It would be nice to make the parser more lenient to be able to parse them.

@luxifer
Copy link
Owner

luxifer commented Feb 18, 2020

I agree, if you can find some example in the wild of ical not properly following the RFC and add it to the fixtures I would be happy to merge it!

@emersion
Copy link
Author

I've hit this when using the Radicale CardDAV server.

@luxifer
Copy link
Owner

luxifer commented Feb 19, 2020

Got it, as I said, if you can find some example and add it to the fixtures I would be happy to make the necessary changes

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

2 participants