Include patched version of Sabre\VObject\Property (#2442)
This commit is contained in:
parent
617277a4f4
commit
cbbcba9a2d
2 changed files with 11 additions and 0 deletions
|
@ -195,6 +195,15 @@ class Property extends Node {
|
||||||
'\n',
|
'\n',
|
||||||
'',
|
'',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// avoid double-escaping of \, and \; from Compound properties
|
||||||
|
if (method_exists($this, 'setParts')) {
|
||||||
|
$src[] = '\\\\,';
|
||||||
|
$out[] = '\\,';
|
||||||
|
$src[] = '\\\\;';
|
||||||
|
$out[] = '\\;';
|
||||||
|
}
|
||||||
|
|
||||||
$str.=':' . str_replace($src, $out, $this->value);
|
$str.=':' . str_replace($src, $out, $this->value);
|
||||||
|
|
||||||
$out = '';
|
$out = '';
|
||||||
|
|
|
@ -8,3 +8,5 @@ tar xf sabre-vobject-2.1.0.tar.gz
|
||||||
mv sabre-vobject-2.1.0/lib/* .
|
mv sabre-vobject-2.1.0/lib/* .
|
||||||
rm -rf sabre-vobject-2.1.0
|
rm -rf sabre-vobject-2.1.0
|
||||||
|
|
||||||
|
cd lib/Sabre/VObject && wget --no-check-certificate -O Property.php https://raw2.github.com/thomascube/sabre-vobject/84b64c65f9a94f7ec5a5e327bab3cc1335dd613c/lib/Sabre/VObject/Property.php
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue