Skip to content

Commit

Permalink
Bug: 12501 Parameter names and values are case insensitive.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Mar 9, 2015
1 parent 3e1250d commit c9112bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Icalendar/lib/Horde/Icalendar.php
Expand Up @@ -606,7 +606,7 @@ public function parsevCalendar($text, $base = 'VCALENDAR', $clear = true)
preg_match_all('/;(([^;=]*)(=("[^"]*"|[^;]*))?)/', $parts[2], $param_parts);
foreach ($param_parts[2] as $key => $paramName) {
$paramName = Horde_String::upper($paramName);
$paramValue = $param_parts[4][$key];
$paramValue = Horde_String::upper($param_parts[4][$key]);
if ($paramName == 'TYPE') {
$paramValue = preg_split('/(?<!\\\\),/', $paramValue);
if (count($paramValue) == 1) {
Expand Down

0 comments on commit c9112bc

Please sign in to comment.