AlistGo / AlistGo/alist

夸克网盘无法识别 ' (英文单引号)

Abierto
#7,571 5 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Go
Estrellas
50.2k
Forks
7.9k
Merge medio
7 d 21 h
PR fusionados (30 d)
6

Descripción

### Please make sure of the following things

- [X] I have read the [documentation](https://alist.nn.ci).
我已经阅读了[文档](https://alist.nn.ci)。

- [X] I'm sure there are no duplicate issues or discussions.
我确定没有重复的issue或讨论。

- [X] I'm sure it's due to `AList` and not something else(such as [Network](https://alist.nn.ci/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host) ,`Dependencies` or `Operational`).
我确定是`AList`的问题,而不是其他原因(例如[网络](https://alist.nn.ci/zh/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host),`依赖`或`操作`)。

- [X] I'm sure this issue is not fixed in the latest version.
我确定这个问题在最新版本中没有被修复。

### AList Version / AList 版本

v3.40.0

### Driver used / 使用的存储驱动

夸克

### Describe the bug / 问题描述

夸克网盘无法识别 ' (英文单引号)
当我创建一个带有英文单引号的文件或文件夹时,会将单引号识别成乱码
![image](https://github.com/user-attachments/assets/ace643b5-d6b5-4b1e-b01d-ba948bd608ed)
![image](https://github.com/user-attachments/assets/193a6863-352c-4fcb-9763-386fde602a0b)

当我从其他网盘复制文件夹时,当文件夹名带有英文单引号时,会发生错误,导致无法完成复制,且会在夸克目录下创建带有乱码的文件夹,但alist不会成功将乱码识别成英文单引号,导致复制失败:
![image](https://github.com/user-attachments/assets/3496a32b-ae78-4701-9ad8-b9adc0f96da4)
![image](https://github.com/user-attachments/assets/386b62dc-2f50-48f8-a582-ad625a8afc45)

### Reproduction / 复现链接

http://122.51.147.234:5244/

### Config / 配置

{
"force": false,
"site_url": "",
"cdn": "",
"jwt_secret": "XTFR60RSdhwqvRYw",
"token_expires_in": 48,
"database": {
"type": "sqlite3",
"host": "",
"port": 0,
"user": "",
"password": "",
"name": "",
"db_file": "data/data.db",
"table_prefix": "x_",
"ssl_mode": "",
"dsn": ""
},
"meilisearch": {
"host": "http://localhost:7700",
"api_key": "",
"index_prefix": ""
},
"scheme": {
"address": "0.0.0.0",
"http_port": 5244,
"https_port": -1,
"force_https": false,
"cert_file": "",
"key_file": "",
"unix_file": "",
"unix_file_perm": ""
},
"temp_dir": "data/temp",
"bleve_dir": "data/bleve",
"dist_dir": "",
"log": {
"enable": true,
"name": "data/log/log.log",
"max_size": 50,
"max_backups": 30,
"max_age": 28,
"compress": false
},
"delayed_start": 0,
"max_connections": 0,
"tls_insecure_skip_verify": true,
"tasks": {
"download": {
"workers": 5,
"max_retry": 1,
"task_persistant": true
},
"transfer": {
"workers": 5,
"max_retry": 2,
"task_persistant": true
},
"upload": {
"workers": 5,
"max_retry": 0,
"task_persistant": false
},
"copy": {
"workers": 10,
"max_retry": 1,
"task_persistant": true
}
},
"cors": {
"allow_origins": [
"*"
],
"allow_methods": [
"*"
],
"allow_headers": [
"*"
]
},
"s3": {
"enable": false,
"port": 5246,
"ssl": false
}
}

![image](https://github.com/user-attachments/assets/edadbf4e-77d1-4715-b04b-c0d7f83b377d)

### Logs / 日志

![image](https://github.com/user-attachments/assets/b766f653-3a02-4109-b8c1-e0af35e70651)
![image](https://github.com/user-attachments/assets/f1a3bc4c-f84a-4a69-8917-017c53ffcb42)

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.