forked from extern/egroupware
Fix parameter parser again
This commit is contained in:
parent
32678401e8
commit
ff9e241961
@ -635,7 +635,7 @@ class Horde_iCalendar {
|
||||
|
||||
// Parse parameters.
|
||||
if (!empty($parts[2])) {
|
||||
preg_match_all('/;(([^;=]*)(=((?:[^;\\\]*(?:\\\.)?)*))?)/', $parts[2], $param_parts);
|
||||
preg_match_all('/;(([^;=]*)(=("[^"]*"|(?:[^;\\\]*(?:\\\.)?)*))?)/', $parts[2], $param_parts);
|
||||
foreach ($param_parts[2] as $key => $paramName) {
|
||||
$paramName = String::upper($paramName);
|
||||
$paramValue = $param_parts[4][$key];
|
||||
|
Loading…
Reference in New Issue
Block a user