For those using Nextcloud as a sync target the below has been posted on the Nextcloud forum.
I do not know if this problem would directly affect WebDav but it's worth being aware of.
Update:
It appears that a patched version has been released. So if you do suffer from problems syncing Joplin with Nextcloud 22.2.1 a further Nextcloud upgrade is required.