Fixes to webdav and shortcuts, thanks to t-oster (https://github.com/t-oster).