mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-18 14:00:17 +00:00
increase maximum resource size to infinity. this might be potentially dangerous but it is what's claimed in inc/caldav-MKCOL.php:
case 'urn:ietf:params:xml:ns:caldav:max-resource-size': /** Ignored, since we will support arbitrary size */ this solves issue #80 (large contact photos not being accepted by the server). we might wanna think about a larger limit instead, e.g. increase the limit from 65kB to 6.5MB
This commit is contained in:
parent
5801916722
commit
9a430130d8
@ -1842,7 +1842,7 @@ EOQRY;
|
||||
|
||||
case 'urn:ietf:params:xml:ns:carddav:max-resource-size':
|
||||
if ( ! $this->_is_collection || !$this->_is_addressbook ) return false;
|
||||
$reply->NSElement($prop, $tag, 65500 );
|
||||
$reply->NSElement($prop, $tag, '' );
|
||||
break;
|
||||
|
||||
case 'urn:ietf:params:xml:ns:carddav:supported-address-data':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user