aboutsummaryrefslogtreecommitdiff
path: root/pkg/service/filesystem.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/service/filesystem.go')
-rw-r--r--pkg/service/filesystem.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/service/filesystem.go b/pkg/service/filesystem.go
index cdfd106..2e4b510 100644
--- a/pkg/service/filesystem.go
+++ b/pkg/service/filesystem.go
@@ -87,7 +87,7 @@ func (self *FileSystemController) GetPage(ctx context.Context, userID uint, file
}
params := list.Map(files, func(info fs.FileInfo) *FileParam {
- fullPath := path.Join(fullPath, info.Name())
+ fullPath := path.Join(decodedPath, info.Name())
scapedFullPath := url.QueryEscape(fullPath)
return &FileParam{
Info: info,