[Tickets #13843] CaseInsensitiveArray breaks HTTP Headers (?)

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Feb 5 16:17:46 UTC 2015


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: https://bugs.horde.org/ticket/13843
------------------------------------------------------------------------------
  Ticket           | 13843
  Erstellt Von     | jasper.olbrich at students.uni-marbur.gde
  Zusammenfassung  | CaseInsensitiveArray breaks HTTP Headers (?)
  Warteschlange    | Horde Framework Packages
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 1. Low
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


jasper.olbrich at students.uni-marbur.gde (2015-02-05 16:17) hat geschrieben:

Since this commit
https://github.com/horde/horde/commit/25a839f2bb73c3ab7eae5d14c9116e4ab7e54814
the HTTP headers are parsed/stored case-insensitively, but (as far as  
I can tell), the keys are stored in a case preserving way, so that  
finally $this->headers is case sensitive again.

This seems to break external CalDAV calendars, because in several  
places, lowercase header names are used as keys, for example
https://github.com/horde/horde/blob/a2eed2bb318770abe9621596be402d830275c129/framework/Dav/bundle/vendor/sabre/dav/lib/Sabre/DAV/Client.php#L276
and
https://github.com/horde/horde/blob/master/framework/Dav/lib/Horde/Dav/Client.php#L113

Installed versions are Horde 5.2.3 and Kronolith 4.2.4





More information about the bugs mailing list