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:
Paul Kallnbach 2018-05-22 15:17:28 +00:00
parent 5801916722
commit 9a430130d8

View File

@ -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':