\n\n这个问题可能与 #7149 的修复有关。文件中通过 `file.name()` 获取文件名。建议通过 `FilePart` 的 `filename()` 获取文件名。\n\n/area core\n/kind bug\n\n### 复现步骤\n\n_No response_\n\n### 相关日志输出\n\n```shell\n\n```\n\n### 附加信息\n\n_No response_",[2942,2943,2944],{"name":2868,"color":2869},{"name":2886,"color":2887},{"name":2945,"color":2946},"priority/important-soon","eb6420",7274,"文章默认编辑器上传文件失败","2025-03-07T07:55:01Z","https://github.com/halo-dev/halo/issues/7274",0.57705605,{"description":2953,"labels":2954,"number":2957,"owner":2874,"repository":2875,"state":2889,"title":2958,"updated_at":2959,"url":2960,"score":2961},"### 系统信息\r\n\r\n- 外部访问地址: http://localhost:8090\r\n- 启动时间: 2024-10-08 16:43\r\n- 版本: \r\n- 构建时间: \r\n- Git Commit: \r\n- Java: OpenJDK Runtime Environment / 17.0.7+7-LTS\r\n- 数据库: PostgreSQL / 15.4 (Debian 15.4-2.pgdg120+1)\r\n- 操作系统: Mac OS X / 14.6\r\n- 已激活主题: [Sakura 2.4.0](https://github.com/LIlGG/halo-theme-sakura.git)\r\n- 已启动插件:\r\n - [Data Studio(数据工厂) 1.0.0-alpha.2](https://github.com/halo-sigs/plugin-data-studio)\r\n - [shiki 代码高亮 1.0.0-SNAPSHOT](https://github.com/halo-sigs/plugin-shiki)\r\n - [瞬间 1.0.1-SNAPSHOT](https://github.com/halo-sigs/plugin-moments)\r\n - [AI 助手 1.0.0-SNAPSHOT](https://www.halo.run/store/apps/app-riNgb)\r\n - [Metrics Graph 1.0.0](https://github.com/guqing/plugin-metrics-graph)\r\n - [Markdown / HTML 内容块 1.0.0-SNAPSHOT](https://github.com/halo-dev/plugin-hybrid-edit-block)\r\n - [Willow Markdown 编辑器 1.0.0-beta.3](https://github.com/guqing/willow-mde)\r\n - [应用市场 1.5.1](https://www.halo.run/store/apps/app-VYJbF)\r\n - [增强备份(Backup IMproved) 1.0.0](https://halo.run/store/apps/app-dHakX)\r\n - [OAuth2 认证 1.3.1](https://github.com/halo-sigs/plugin-oauth2)\r\n - [StackEdit 1.1.1](https://github.com/halo-sigs/plugin-stackedit)\r\n - [链接管理 1.3.3](https://github.com/halo-sigs/plugin-links)\r\n - [站点迁移 1.3.0](https://github.com/halo-sigs/plugin-migrate)\r\n - [对象存储(Amazon S3 协议) 1.11.0-SNAPSHOT](https://github.com/halo-dev/plugin-s3)\r\n - [ByteMD 1.4.0](https://github.com/ruibaby/plugin-bytemd)\r\n - [图库管理 1.3.0](https://github.com/halo-sigs/plugin-photos)\r\n - [RSS 1.2.2](https://github.com/halo-dev/plugin-feed)\r\n - [搜索组件 1.5.0](https://github.com/halo-dev/plugin-search-widget)\r\n - [评论组件 2.1.0](https://github.com/halo-dev/plugin-comment-widget)\r\n - [Sitemap 1.1.1](https://github.com/halo-dev/plugin-sitemap)\r\n\r\n### 使用的哪种方式运行?\r\n\r\nSource Code\r\n\r\n### 发生了什么?\r\n\r\n使用基于后端登录时,在注册用户阶段可以使用中文用户名与密码进行注册。建议进行限制。\r\n\r\n并且也可以使用特殊字符进行登录,建议进行限制\r\n\r\n/kind bug\r\n/area core\r\n/milestone 2.20.x\r\n\r\n\r\n\r\n### 复现步骤\r\n\r\n1. 在登录页面点击注册用户。\r\n2. 使用中文用户名与密码进行注册。\r\n3. 可以看到注册成功并能成功登录。\r\n\r\n### 相关日志输出\r\n\r\n_No response_\r\n\r\n### 附加信息\r\n\r\n_No response_",[2955,2956],{"name":2868,"color":2869},{"name":2886,"color":2887},6793,"使用基于后端的登录方式时可以使用中文用户名与密码进行注册登录","2024-10-10T08:25:11Z","https://github.com/halo-dev/halo/issues/6793",0.5842715,{"description":2963,"labels":2964,"number":2967,"owner":2874,"repository":2875,"state":2889,"title":2968,"updated_at":2969,"url":2970,"score":2971},"### 系统信息\r\n\r\n- 外部访问地址: https://halo-dev.ryanc.cc\r\n- 启动时间: 2024-10-03 17:39\r\n- 版本: 2.20.0-SNAPSHOT\r\n- 构建时间: 2024-10-01 23:41\r\n- Git Commit: 462fac0\r\n- Java: IBM Semeru Runtime Open Edition / 21.0.4+7-LTS\r\n- 数据库: PostgreSQL / 15.4 (Debian 15.4-2.pgdg120+1)\r\n- 操作系统: Linux / 5.15.0-88-generic\r\n- 已激活主题: [Official V3 2.8.1](https://github.com/f2ccloud/halo-theme-official-v3.git)\r\n- 已启动插件:\r\n - [Unsplash 1.1.0](https://github.com/halo-sigs/plugin-unsplash)\r\n - [Data Studio(数据工厂) 1.0.0-alpha.2](https://github.com/halo-sigs/plugin-data-studio)\r\n - [HTML 转 Markdown 1.0.0-SNAPSHOT](https://github.com/halo-dev/plugin-html2markdown)\r\n - [Sitemap 1.1.2](https://github.com/halo-dev/plugin-sitemap)\r\n - [应用市场 1.4.0-dev](https://halo-dev.ryanc.cc/store/apps/app-VYJbF)\r\n - [增强备份(Backup IMproved) 1.1.1](https://www.halo.run/store/apps/app-dHakX)\r\n - [lightgallery.js 灯箱 1.2.1](https://github.com/halo-sigs/plugin-lightgallery)\r\n - [highlight.js 代码高亮 1.2.2](https://github.com/halo-sigs/plugin-highlightjs)\r\n - [RSS 1.3.0](https://github.com/halo-dev/plugin-feed)\r\n - [ByteMD 1.4.0](https://github.com/ruibaby/plugin-bytemd)\r\n - [对象存储(Amazon S3 协议) 1.10.0](https://github.com/halo-dev/plugin-s3)\r\n - [搜索组件 1.5.0](https://github.com/halo-dev/plugin-search-widget)\r\n - [OAuth2 认证 1.2.0](https://github.com/halo-sigs/plugin-oauth2)\r\n - [评论组件 2.4.0](https://github.com/halo-dev/plugin-comment-widget)\r\n\r\n### 使用的哪种方式运行?\r\n\r\nDocker Compose\r\n\r\n### 发生了什么?\r\n\r\n如图:\r\n\r\n\u003Cimg width=\"728\" alt=\"image\" src=\"https://github.com/user-attachments/assets/d21e15bf-d886-4afe-9e31-5a84f201e981\">\r\n\u003Cimg width=\"828\" alt=\"image\" src=\"https://github.com/user-attachments/assets/bf9f897b-d130-4221-acb5-290c91ecd9cf\">\r\n\r\nResponse: Invalid CSRF Token\r\n\r\n/kind bug\r\n/area ui\r\n/milestone 2.20.x\r\n\r\n### 复现步骤\r\n\r\n_No response_\r\n\r\n### 相关日志输出\r\n\r\n_No response_\r\n\r\n### 附加信息\r\n\r\n_No response_",[2965,2966],{"name":2868,"color":2869},{"name":2911,"color":2912},6756,"后台的退出登录功能失效","2024-10-05T15:08:16Z","https://github.com/halo-dev/halo/issues/6756",0.58505034,{"description":2973,"labels":2974,"number":2978,"owner":2874,"repository":2875,"state":2889,"title":2979,"updated_at":2980,"url":2981,"score":2982},"### 系统信息\n\n- 外部访问地址: \r\n- 启动时间: 2024-01-31 11:26\r\n- 版本: 2.12.0-SNAPSHOT\r\n- 构建时间: 2024-01-31 11:26\r\n- Git Commit: 859cbad\r\n- Java: OpenJDK Runtime Environment / 17.0.9+0\r\n- 数据库: PostgreSQL / 15.2 (Debian 15.2-1.pgdg110+1)\r\n- 操作系统: Mac OS X / 14.3\r\n- 已激活主题: [Walker](https://halo.run/store/apps/app-GHgAR)\r\n- 已启动插件: \n\n### 使用的哪种方式运行?\n\nSource Code\n\n### 在线站点地址\n\n_No response_\n\n### 发生了什么?\n\n如图:\r\n\r\n\u003Cimg width=\"805\" alt=\"image\" src=\"https://github.com/halo-dev/halo/assets/21301288/45685018-305d-45ea-8b9b-553fb158d670\">\r\n\r\n不确定这是否符合预期,如果需要支持让用户选择这样的角色,那么可能需要适配一下,目前显示的文本有问题。\r\n\r\n/kind bug\r\n/area console\r\n/milestone 2.12.x\n\n### 相关日志输出\n\n_No response_\n\n### 附加信息\n\n_No response_",[2975,2976],{"name":2868,"color":2869},{"name":2977,"color":2887},"area/console",5288,"个人令牌的权限列表会出现非角色模板的角色","2024-02-01T09:21:28Z","https://github.com/halo-dev/halo/issues/5288",0.58584255,["Reactive",2984],{},["Set"],["ShallowReactive",2987],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fS1Pe2JainW7gS4Mi_R5JAIwYBoLMgZg1XXzgHJnvTCE":-1},"/halo-dev/halo/6596"]