Use lower-case "mailto:" consistently in the code
During CalDAV-uploadig a single VCALENDAR containing two VEVENTS, they both must have the same organizer. Evolution does upload:
BEGIN:VEVENT
ORGANIZER:mailto:a@examle.org
END:VEVENT
BEGIN:VEVENT
ORGINIZER;CN=A B:MAILTO:a@examle.org
END:VEVENT
Using libical’s icalproperty_get_organizer() returns for the first mailto:a@examle.org and for the second MAILTO:a@examle.org.
In order to deal with servers that do not normalize "mailto:" before comparing the organizers for equality, Evolution shall do this itself.
Edited by Milan Crha