Closed NorfairKing closed 1 month ago
I've come here after finding a similar issue, however this library is supposed to be RFC5545 compliant, and that requires URLs to be properly formatted with a scheme (source), so really this is a bug with whatever is generating the ICS. Maybe a better solution would be to make this a warning and set the URL to be Nothing
instead of failing completely?
Apple cloud is what generated the error, so I don't think I can fix things there. I like @oscar-h64 's proposed solution :)
Ah yes, not much you can do there. I'm happy to make a PR for this, or I know you have one open if you'd rather do it and update that?
Go for it! No hurries though, I'm not blocked on this.
I ended up making https://github.com/NorfairKing/ical in the end, which fixes this problem.
Oh, I didn't found that because it's not a direct fork and has a different name. Nice, do you plan to publish it on hackage? Or are there plans to use your's as a successor under the same name iCalendar on hackage?
@schoettl I have no plans for either. It took me a few months to make and now I use it in my products, like https://github.com/NorfairKing/smos.
Perhaps it is best to just leave the
URI
as aText
instead of aURI
?