Repository navigation
se7enxweb/expcomponents-webdav 1.2.3 is Exponential's fork of Zeta Components Webdav (zetacomponents/webdav), maintained by 7x and the Exponential Foundation under the Apache License 2.0. It replaces zetacomponents/webdav; the class names (ezc*) and the API are unchanged.
Install: composer require se7enxweb/expcomponents-webdav:~1.2.3
Changes
- Updated: Requirements on other Zeta Components point to their Exponential
forks (se7enxweb/expcomponents-base), which replace the upstream packages. - Updated: composer.json states the license (Apache-2.0) and the PHP
versions; the component is tested on PHP 7.4 to 8.5. - Added: NOTICE keeps the upstream copyright notices and names the fork;
README.md describes the fork. - Added: A GitHub Actions workflow running the test suite on PHP 7.4 to 8.5.
- Fixed: Digest authentication works again on PHP 7 and later. The
Authorization header parser assigned $res->$matchSet[1], which PHP 7 reads
as ($res->$matchSet)[1] ("Array to string conversion"), so username,
realm, nonce, uri, response, algorithm and opaque were never set. - Fixed: A MOVE that replaces an existing destination, or whose source cannot
be removed, failed on PHP 8 with a TypeError: the simple backend counted
the result of performDelete(), which is a multistatus response or null. It
returns that response, as DELETE does (PHP 7 wrapped it in a second
multistatus response). - Fixed: The memory backend's forced copy errors created their error
responses without "new", a fatal error. - Fixed: A dead property whose prefix is bound to no namespace
(xmlns:p="", which XML namespaces do not allow) was written back as
<p:name/> without a declaration with libxml 2.9, which is not
namespace-well-formed. Such a property is stored and written without the
prefix, as older libxml versions did. - Fixed: On PHP 8.2 and later, an ezcWebdavDateTime serialized by an earlier
PHP version could not be unserialized ("Invalid serialization data for
DateTime object"): DateTime::__unserialize() replaced the class's
__wakeup(). The class has its own __serialize() and __unserialize(), which
keep its format and read every earlier one. - Fixed: PHP 8.5 wrote the XML declaration as encoding="utf-8", earlier
versions as encoding="UTF-8". The XML tool names the encoding UTF-8, so
every PHP version writes the same responses. - Updated: The tests run on PHPUnit 9 (PHP 7.4 to 8.5).