-
Notifications
You must be signed in to change notification settings - Fork 21
Conversation
Hello @westy92, thanks for this PR. It seems that you are right about the specs but, as you can see with the tests, you change is not retro-compatible. I have only supported the "classic newline" ( Could you change your PR to make it able to handle both |
@Peltoche thanks for the feedback, I'll try to get this fixed ASAP. Everything initially passed locally - it looks like I need to pass |
@Peltoche all tests are now passing! |
Hello @westy92, happy new year and sorry for the delay. I have a lot of stuff going on in my private life and this lib is really not the first of my priorities. But we will succeed to merge this PR soon I hope! I only have one issue with your PR, you change the previous tests and this indicate that you are creating a change in behaviour. I don't think we need or should create a breaking change to solve you issue. If I handled only the So could you change the code to handle both Thanks again for you contribution. |
Hi @Peltoche. Thank you for the additional PR feedback. The parsing code is unchanged, along with its unit tests. The only code that is different is the generator. I added a unit test with a spec-compliant ICS file to prove this. If anything, this is a bug fix to bring ICS generated by the library into compliance. |
Indeed, I have done the review too quickly. I merge it. Thanks for the contrib 👍 |
Thank you for the approval, merge, and release! 🎉 |
Per the spec, lines should end with
\r\n
, not just\n
.https://www.ietf.org/rfc/rfc2445.txt