@@ -508,10 +508,56 @@ public function testChangingOrganizers()
508508END:VCALENDAR
509509ICS ;
510510
511- $ version = \Sabre \VObject \Version::VERSION ;
512511 $ this ->parse (null , $ message , [], 'mailto:strunk@example.org ' );
513512 }
514513
514+ public function testCaseInsensitiveOrganizers ()
515+ {
516+ $ message = <<<ICS
517+ BEGIN:VCALENDAR
518+ VERSION:2.0
519+ BEGIN:VEVENT
520+ UID:foobar
521+ ORGANIZER;CN=Strunk:mailto:strunk@example.org
522+ ATTENDEE;CN=One:mailto:one@example.org
523+ ATTENDEE;CN=Two:mailto:two@example.org
524+ DTSTART:20140716T120000Z
525+ DTEND:20140716T130000Z
526+ RRULE:FREQ=DAILY
527+ END:VEVENT
528+ BEGIN:VEVENT
529+ UID:foobar
530+ RECURRENCE-ID:20140718T120000Z
531+ ORGANIZER;CN=Strunk:mailto:Strunk@example.org
532+ ATTENDEE;CN=Two:mailto:two@example.org
533+ ATTENDEE;CN=Three:mailto:three@example.org
534+ DTSTART:20140718T120000Z
535+ DTEND:20140718T130000Z
536+ END:VEVENT
537+ END:VCALENDAR
538+ ICS ;
539+
540+ $ this ->parse (null , $ message , [
541+ [
542+ 'uid ' => 'foobar ' ,
543+ 'method ' => 'REQUEST ' ,
544+ 'component ' => 'VEVENT ' ,
545+ 'sender ' => 'mailto:strunk@example.org ' ,
546+ ],
547+ [
548+ 'uid ' => 'foobar ' ,
549+ 'method ' => 'REQUEST ' ,
550+ 'component ' => 'VEVENT ' ,
551+ 'sender ' => 'mailto:strunk@example.org ' ,
552+ ],
553+ ['uid ' => 'foobar ' ,
554+ 'method ' => 'REQUEST ' ,
555+ 'component ' => 'VEVENT ' ,
556+ 'sender ' => 'mailto:strunk@example.org ' ,
557+ ],
558+ ], 'mailto:strunk@example.org ' );
559+ }
560+
515561 public function testNoOrganizerHasAttendee ()
516562 {
517563 $ message = <<<ICS
0 commit comments