AlistGo / alist

🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。
https://alist.nn.ci
GNU Affero General Public License v3.0
44.05k stars 5.71k forks source link

本地路径报错failed get objs #7478

Open luguoyixiazi opened 2 weeks ago

luguoyixiazi commented 2 weeks ago

Please make sure of the following things

AList Version / AList 版本

v3.39.1

Driver used / 使用的存储驱动

本机存储

Describe the bug / 问题描述

由于目录内有部分文件是有特殊字符的,在列出路径时寄了,改掉命名就好了,但是确实有点繁琐,不好定位具体不支持的命名,能不能修改一下err的处理逻辑或者是增加字符集?

Reproduction / 复现链接

本地存储列出文件名错误,具体名称不便给出,含有特殊字符

Config / 配置

image

Logs / 日志

github.com/alist-org/alist/v3/internal/op.List.func1 /home/runner/work/alist/alist/internal/op/fs.go:127 github.com/alist-org/alist/v3/pkg/singleflight.(Group[...]).doCall.func2 /home/runner/work/alist/alist/pkg/singleflight/singleflight.go:193 github.com/alist-org/alist/v3/pkg/singleflight.(Group[...]).doCall /home/runner/work/alist/alist/pkg/singleflight/singleflight.go:195 github.com/alist-org/alist/v3/pkg/singleflight.(Group[...]).Do /home/runner/work/alist/alist/pkg/singleflight/singleflight.go:108 github.com/alist-org/alist/v3/internal/op.List /home/runner/work/alist/alist/internal/op/fs.go:124 github.com/alist-org/alist/v3/internal/fs.list /home/runner/work/alist/alist/internal/fs/list.go:25 github.com/alist-org/alist/v3/internal/fs.List /home/runner/work/alist/alist/internal/fs/fs.go:22 github.com/alist-org/alist/v3/server/handles.FsList /home/runner/work/alist/alist/server/handles/fsread.go:86 github.com/gin-gonic/gin.(Context).Next /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/alist-org/alist/v3/server/middlewares.Auth /home/runner/work/alist/alist/server/middlewares/auth.go:73 github.com/gin-gonic/gin.(Context).Next /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded /home/runner/work/alist/alist/server/middlewares/check.go:14 github.com/gin-gonic/gin.(Context).Next /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1 /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 github.com/gin-gonic/gin.(Context).Next /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.LoggerWithConfig.func1 /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 github.com/gin-gonic/gin.(Context).Next /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.(Engine).handleHTTPRequest /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 github.com/gin-gonic/gin.(Engine).ServeHTTP /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 net/http.serverHandler.ServeHTTP /opt/hostedtoolcache/go/1.23.2/x64/src/net/http/server.go:3210 net/http.(*conn).serve /opt/hostedtoolcache/go/1.23.2/x64/src/net/http/server.go:2092 runtime.goexit /opt/hostedtoolcache/go/1.23.2/x64/src/runtime/asm_amd64.s:1700 failed get objs

github-actions[bot] commented 2 weeks ago

See

  1. 69% #3001
  2. 68% #2752