diff --git a/index.php b/index.php index cbdb4ba..41e2a11 100644 --- a/index.php +++ b/index.php @@ -1941,10 +1941,10 @@ RewriteRule ^.*$ /index.php [END] if ($relative_uri == '.webdav/webdav.js') { fseek($fp, 52608, SEEK_SET); - echo fread($fp, 27789); + echo fread($fp, 27798); } else { - fseek($fp, 52608 + 27789, SEEK_SET); + fseek($fp, 52608 + 27798, SEEK_SET); echo fread($fp, 7004); } @@ -2080,14 +2080,14 @@ const WebDAVNavigator = (url, options) => { const dir_row_tpl = `%icon%%name%%modified%
`; const file_row_tpl = `%icon%%name%%size_bytes%%modified%
${_('Download')}
`; - const propfind_tpl = ` + const propfind_tpl = '<'+ `?xml version="1.0" encoding="UTF-8"?> `; - const wopi_propfind_tpl = ` + const wopi_propfind_tpl = '<' + `?xml version="1.0" encoding="UTF-8"?>