markuspoerschke / iCal

iCal-creator for PHP
https://ical.poerschke.nrw
MIT License
1.13k stars 162 forks source link

Organizer with Sent-By is invalid #642

Open micheh opened 1 month ago

micheh commented 1 month ago

Currently, the organizer field seems to be wrong when using the sent-by parameter.

According to RFC 5545: The individual calendar address parameter values MUST each be specified in a quoted-string.

Example: ORGANIZER;SENT-BY="mailto:sray@example.com":mailto:jsmith@example.com

However, the library generates the value without the quotes: ORGANIZER;SENT-BY=mailto:sray@example.com:mailto:jsmith@example.com

The email client interprets the mail as sray@example.com:mailto:jsmith@example.com (which means neither the sent-by nor the original email is used, but an invalid combination of both).

ServerExe commented 1 month ago

I guess this duplicates https://github.com/markuspoerschke/iCal/issues/501