Skip to content

1.2.1: WebDAV on PHP 8, as se7enxweb/zetacomponents-webdav

Choose a tag to compare

@se7enxweb se7enxweb released this 25 Oct 01:41
· 32 commits to master since this release

Updated:

  • PROPFIND, LOCK and property output work on PHP 8: the lock plugin counted a null 404 list (a TypeError on PHP 8.0 and later whenever every requested property was found).
  • LOCK of a missing resource no longer recurses; property values escape "&" once; an empty PROPFIND body asks for all properties; locks show in PROPFIND.
  • The component runs on PHP 8.1 to 8.5 without deprecation notices.
  • Published as se7enxweb/zetacomponents-webdav, replacing zetacomponents/webdav.

Added:

  • Regression tests for the lock plugin, property escaping and the output.

Verified with the Exponential WebDAV backend on PHP 8.5 and 8.1: PROPFIND with and without a body, PUT, GET, LOCK (and 423 without the token), LOCK refresh, UNLOCK, DELETE, names with spaces.