diff --git a/libs/filer/windows_root_path.go b/libs/filer/windows_root_path.go index 70d91b746..c6dc4228e 100644 --- a/libs/filer/windows_root_path.go +++ b/libs/filer/windows_root_path.go @@ -28,7 +28,7 @@ func (p WindowsRootPath) Join(name string) (string, error) { // Don't allow escaping the specified root using relative paths. if !strings.HasPrefix(absPath, p.rootPath) { - return "", fmt.Errorf("relative path escapes root: %s", name) + return "", fmt.Errorf("relative path %s escapes root %s", name, p.rootPath) } return absPath, nil