Replies: 4 comments
-
ical4j 3.2.4 has changed the email address validator, but it will still throw an IllegalArgumentException for invalid email addresses. @sunkup Do you think we can do about this? Or otherwise I think we'd have to create an enhancement request for ical4j to ignore email addresses instead of throwing an exception in relaxed mode. |
Beta Was this translation helpful? Give feedback.
-
When catching the exception we do not get any parsing results and the Event is ignored. Given this I think that unfortunately we can not do something about it at the moment. We will have to create mentioned request for ignoring email addresses when in relaxed mode and maybe do the email validation logic ourselves or in some other way. Nonetheless it'd be interesting to see the actual raw ical, which produces said exception. Can you provide us with it? |
Beta Was this translation helpful? Give feedback.
-
@sunkup Here's a few sample events (edited to remove personal details)
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the examples. I am only getting an exception on the third one, but nonetheless, as we can not do anything about it, I opened an issue over at the ical4j repo. |
Beta Was this translation helpful? Give feedback.
-
I get sync error notifications from DAVx5 with every sync. The error is (actual URL changed)
Caused by: net.fortuna.ical4j.data.ParserException: Error at line 7:javax.mail.internet.AddressException: Domain contains illegal character in string ``example@https://example.com/remote.php/caldav/''
Is there a way to get DAVx5 to stop throwing errors (or an easy way to fix this)? The example@https://example.com/remote.php/caldav/ appear hundreds of times in my calendar (and seem to originate from Thunderbird email client and appear after "CN=", "EMAIL=" and "mailto:"). I didn't see a easy way to use find and replace to fix these though since the caldav format has lots of line breaks.
I'm using a Nextcloud-hosted calendar synced with Thunderbird desktop client (with CalDAV Provider installed), Samsung phone (with DAVx5 installed), iPhone, and MacOS calendar.
Beta Was this translation helpful? Give feedback.
All reactions