diff --git a/backend/webdav/webdav.go b/backend/webdav/webdav.go index 397cd0b92..896b0b571 100644 --- a/backend/webdav/webdav.go +++ b/backend/webdav/webdav.go @@ -569,7 +569,7 @@ func (f *Fs) fetchAndSetBearerToken() error { return nil } -var validateNextCloudChunkedURL = regexp.MustCompile(`^.*/dav/files/[^/]+/?$`) +var validateNextCloudChunkedURL = regexp.MustCompile(`^.*/dav/files/`) // setQuirks adjusts the Fs for the vendor passed in func (f *Fs) setQuirks(ctx context.Context, vendor string) error {