{
"force": false,
"site_url": "",
"cdn": "",
"jwt_secret": "[masked]",
"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": "",
"enable_h2c": false
},
"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,
"max_concurrency": 64,
"tls_insecure_skip_verify": true,
"tasks": {
"download": {
"workers": 5,
"max_retry": 1,
"task_persistant": false
},
"transfer": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"upload": {
"workers": 5,
"max_retry": 0,
"task_persistant": false
},
"copy": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"move": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"decompress": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"decompress_upload": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"allow_retry_canceled": false
},
"cors": {
"allow_origins": [
"*"
],
"allow_methods": [
"*"
],
"allow_headers": [
"*"
]
},
"s3": {
"enable": false,
"port": 5246,
"ssl": false
},
"ftp": {
"enable": false,
"listen": ":5221",
"find_pasv_port_attempts": 50,
"active_transfer_port_non_20": false,
"idle_timeout": 900,
"connection_timeout": 30,
"disable_active_mode": false,
"default_transfer_binary": false,
"enable_active_conn_ip_check": true,
"enable_pasv_conn_ip_check": true
},
"sftp": {
"enable": false,
"listen": ":5222"
},
"last_launched_version": "v4.0.5"
}
Please confirm the following
I have read and agree to AGPL-3.0 Section 15 .
The program is provided "as is" without any warranties; you bear all risks of using it.
I have read and agree to AGPL-3.0 Section 16 .
The copyright holders and distributors are not liable for any damages resulting from the use or inability to use the program.
I confirm my description is clear, polite, helps developers quickly locate the issue, and complies with community rules.
I have read the OpenList documentation.
I confirm there are no duplicate issues or discussions.
I confirm this is an
OpenListissue, not caused by other reasons (such as network, dependencies, or operation).I believe this issue must be handled by
OpenListand not by a third party.I confirm this issue is not fixed in the latest version.
OpenList Version (required)
v4.0.5
Storage Driver Used (required)
本地存储
Bug Description (required)
在v.3.0.5?3.5.0?openlist任何正常markdown文档在Text Editor下都会被转换成html格式
xxx在Text Editor下显示
<h1>xxx</h1>,而不是原先的# xxx。更糟的是,在点击保存之后,所有原先的markdown表达都会直接变成html保存格式,无法变成之前的markdown格式,为此我进行了大量替换工作。
在升级到v4.0.5之后,如果什么都不做直接点击保存,甚至会变成
直接损坏整个文件😅,如果在下面再写点东西保存再打开,前面的东西统一变成hello,后面的东西变成html。这么恶性的bug还是第一次见。
得亏我有备份。。。。。。
这个bug在我迁移到openlist之前没有出现过。
Configuration File Content (required)
Logs (optional)
No response
Reproduction Link (optional)
我创建了用户test,密码test,创建了十个示例markdown文件。点击保存后就会变成html格式。不保存直接下载就不会。地址https://alist.ipv4.quitsense.cn:10443/