Skip to content

Commit 1a81215

Browse files
committed
fix: 修复漏洞
1 parent 66eae14 commit 1a81215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/storages/alist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ async def getFileList(dir: str, pbar: tqdm) -> List[FileInfo]:
9090
return FileList(files=missing_files)
9191

9292
async def measure(self, size: int, request: web.Request, response):
93-
file_path = f"{self.path}/.{size}"
93+
file_path = f"{self.path}/measure/.{size}"
9494
try:
9595
async with aiohttp.ClientSession(self.url, headers=self.headers) as session:
9696
response = await session.post("/api/fs/get", json={"path": file_path, "password": self.password})

0 commit comments

Comments
 (0)