MDL-30393 lib/bennu minor fixes for RFC-2445 and PHP 5.x support.

This commit is contained in:
Jonathan Harker 2011-11-22 12:53:01 +13:00
parent fe41ba7489
commit 95641b4529
3 changed files with 55 additions and 2 deletions

View file

@ -54,9 +54,9 @@ class iCalendar_parameter {
return rfc2445_is_valid_value($value, RFC2445_TYPE_CAL_ADDRESS);
break;
// These are textual parameters, so the MUST NOT contain double quotes
// RFC-2445: can contain quotes.
case 'CN':
return (strpos($value, '"') === false);
return true;
break;
// These have enumerated legal values