fix: mapping filename in GetName
some missed filename mapping
This commit is contained in:
@ -9,7 +9,6 @@ import (
|
||||
"github.com/alist-org/alist/v3/internal/errs"
|
||||
"github.com/alist-org/alist/v3/internal/model"
|
||||
"github.com/alist-org/alist/v3/internal/search/searcher"
|
||||
"github.com/alist-org/alist/v3/pkg/utils"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
@ -54,7 +53,7 @@ func Index(ctx context.Context, parent string, obj model.Obj) error {
|
||||
}
|
||||
return instance.Index(ctx, model.SearchNode{
|
||||
Parent: parent,
|
||||
Name: utils.MappingName(obj.GetName(), conf.FilenameCharMap),
|
||||
Name: obj.GetName(),
|
||||
IsDir: obj.IsDir(),
|
||||
Size: obj.GetSize(),
|
||||
})
|
||||
|
Reference in New Issue
Block a user