Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[BUG] 移动云盘访问子目录出现根目录套娃情况

Aperta
#112 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

@PIKACHUIM ci sta già lavorando.

Dal 11/10/2026.

  • #121 di @PIKACHUIM — aperta
  • #126 di @wumingzhinu — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
56/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
api, backend

Direzione di ricerca

Start from the handler serving /api/fs/list (search the TypeScript sources for fs/list) and trace how path is forwarded to the 139Yun storage driver — the root listing being returned suggests the sub-path is dropped or ignored. Also review the routing/deployment fix referenced in issue #95, since the reporter suspects it broke path matching. Done when requesting /手机软件 returns only that folder's contents and opening a file no longer produces doubled nested paths.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
请确认以下事项
  • 我确认描述清晰有礼貌,已提供必要诊断信息,在最新版本上可以复现。
  • 我确认已经查过相关文档和已有问题和讨论,本次反馈并非是重复提问。
  • 我确认这是Worker项目问题,并非网络和操作导致,也不是Go版的问题。
  • 我确认已阅读开源许可/免责条款/使用政策,理解使用的风险自行承担。
版本(必填)

https://github.com/OpenListTeam/OpenList-Worker/tree/bfb963eeb8d5324b78d4311c22bbb5e67c657342

平台(必填)

Tencent EdgeOne Makers

DB_FORMAT(必填)

map(整对象 JSON)

DB_DRIVER(必填)

blob

存储驱动(必填)

blob

问题描述(必填)

复现步骤:存储为移动云盘的时候,当访问比如/手机软件的时候按逻辑应该出现的是/手机软件文件夹下的文件。而现在的问题是会出现根目录下的所有文件夹。并且有时候点击/手机文件/阅读.apk的时候会出现/手机软件/阅读.apk/阅读.apk这样套娃的情况。
报错信息:正常的情况下的/api/fs/list这个api提交的是{"path":"/手机软件","password":"","page":1,"per_page":20,"refresh":false}返回的应该是{
"code": 200,
"message": "success",
"data": {
"content": [
{
"name": "阅读.apk",
"size": 20485008,
"is_dir": false,
"created": "2026-10-04T19:47:40.056+08:00",
"modified": "2026-10-04T19:47:40.056+08:00",
"sign": "",
"thumb": "",
"type": 0,
"hashinfo": "",
"hash_info": {}
}
],
"total": 1,
"readme": "",
"header": "",
"write": false,
"write_content_bypass": false,
"provider": "139Yun",
"direct_upload_tools": [],
"page_size": 20,
"cache_expiration": 30
}
},但是现在的问题是会出现返回{
"code": 200,
"message": "success",
"data": {
"content": [
{
"name": "手机软件",
"size": 0,
"is_dir": true,
"created": "2026-10-04T19:47:40.056+08:00",
"modified": "2026-10-04T19:47:40.056+08:00",
"sign": "",
"thumb": "",
"type": 1,
"hashinfo": "",
"hash_info": {}
},
{
"name": "电脑软件",
"size": 0,
"is_dir": true,
"created": "2026-10-04T19:47:31.234+08:00",
"modified": "2026-10-04T19:47:31.234+08:00",
"sign": "",
"thumb": "",
"type": 1,
"hashinfo": "",
"hash_info": {}
},
{
"name": "系统相关",
"size": 0,
"is_dir": true,
"created": "2026-10-04T19:57:26.263+08:00",
"modified": "2026-10-04T19:57:26.263+08:00",
"sign": "",
"thumb": "",
"type": 1,
"hashinfo": "",
"hash_info": {}
},
{
"name": "自写软件",
"size": 0,
"is_dir": true,
"created": "2026-10-04T19:46:55.353+08:00",
"modified": "2026-10-04T19:46:55.353+08:00",
"sign": "",
"thumb": "",
"type": 1,
"hashinfo": "",
"hash_info": {}
}
],
"total": 4,
"write": false,
"write_content_bypass": false,
"provider": "139Yun",
"direct_upload_tools": [],
"cache_expiration": 30
}
}这样的情况。

报错信息(必填)

页面无任何报错。
eopages无法看到函数日志。
不知道是不是根据#95 的Alumos修复了eopages无法部署的问题导致的路由出错。

相关配置(必填)

DB_FORMAT = map
DB_DRIVER = blob
JWT_SECRET = 12345678

复现链接(可选)
Image Image Image Image
Lingua principale
TypeScript
Stelle
573
Fork
926
Merge medio
5g 6h
PR unite (30g)
26

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenListTeam/OpenList-Worker

Tutte le issue di OpenListTeam/OpenList-Worker

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.