From 2e85bd3bb14ae54b93e9793f34a8d1885f186525 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Mon, 19 Jun 2023 16:00:59 +0200 Subject: [PATCH] - --- libs/filer/windows_root_path.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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