\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_",[3062,3063,3064],{"name":3024,"color":3025},{"name":3042,"color":3043},{"name":3065,"color":3066},"priority/important-soon","eb6420",7274,"文章默认编辑器上传文件失败","2025-03-07T07:55:01Z","https://github.com/halo-dev/halo/issues/7274",0.572626,{"description":3073,"labels":3074,"number":3078,"owner":3030,"repository":3031,"state":3032,"title":3079,"updated_at":3080,"url":3081,"score":3082},"### 系统信息\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_",[3075,3076],{"name":3024,"color":3025},{"name":3077,"color":3043},"area/console",5288,"个人令牌的权限列表会出现非角色模板的角色","2024-02-01T09:21:28Z","https://github.com/halo-dev/halo/issues/5288",0.58468616,{"description":3084,"labels":3085,"number":3088,"owner":3030,"repository":3031,"state":3032,"title":3089,"updated_at":3090,"url":3091,"score":3092},"### 系统信息\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_",[3086,3087],{"name":3024,"color":3025},{"name":3042,"color":3043},6793,"使用基于后端的登录方式时可以使用中文用户名与密码进行注册登录","2024-10-10T08:25:11Z","https://github.com/halo-dev/halo/issues/6793",0.5857411,{"description":3094,"labels":3095,"number":3098,"owner":3030,"repository":3031,"state":3032,"title":3099,"updated_at":3100,"url":3101,"score":3102},"### 系统信息\n\n- 外部访问地址: http://127.0.0.1:8090\r\n- 启动时间: 2024-10-06 11:33\r\n- 版本: 2.20.0-SNAPSHOT\r\n- 构建时间: 2024-10-06 11:33\r\n- Git Commit: b0ad040\r\n- Java: OpenJDK Runtime Environment / 17.0.11+9-LTS\r\n- 数据库: PostgreSQL / 15.2 (Debian 15.2-1.pgdg110+1)\r\n- 操作系统: Mac OS X / 15.1\r\n- 已激活主题: [Walker 1.10.0](https://www.halo.run/store/apps/app-GHgAR)\r\n- 已启动插件:\r\n - [LDAP 认证 1.0.0-SNAPSHOT](https://www.halo.run/store/apps/app-vrSqF)\r\n - [Image Stream 1.0.0-SNAPSHOT](https://github.com/halo-sigs/plugin-image-stream)\r\n - [OAuth2 认证 1.0.4-SNAPSHOT](https://github.com/halo-sigs/plugin-oauth2)\r\n - [评论组件 2.0.0-SNAPSHOT](https://github.com/halo-dev/plugin-comment-widget)\n\n### 使用的哪种方式运行?\n\nSource Code\n\n### 发生了什么?\n\nHalo 2.20.0 在 https://github.com/halo-dev/halo/pull/6488 中重构了登录认证相关的逻辑,以及改为由后端处理各种页面重定向,但遗漏了角色的 **禁止访问 Console** 选项,此选项主要目的是不允许拥有此角色的用户可以访问到 /console。\r\n\r\n/kind bug\r\n/area ui\r\n/milestone 2.20.x\n\n### 复现步骤\n\n_No response_\n\n### 相关日志输出\n\n_No response_\n\n### 附加信息\n\n_No response_",[3096,3097],{"name":3024,"color":3025},{"name":3027,"color":3028},6773,"角色的[禁止访问 Console]选项失效","2024-10-08T02:12:55Z","https://github.com/halo-dev/halo/issues/6773",0.5860917,{"description":3104,"labels":3105,"number":3111,"owner":3030,"repository":3031,"state":3032,"title":3112,"updated_at":3113,"url":3114,"score":3115},"### 系统信息\n\n- 外部访问地址: http://localhost:8090\r\n- 启动时间: 2024-03-04 12:09\r\n- 版本: \r\n- 构建时间: \r\n- Git Commit: \r\n- Java: OpenJDK Runtime Environment / 17.0.7+7-LTS\r\n- 数据库: H2 / 2.2.224\r\n- 操作系统: Mac OS X / 13.4\r\n- 已激活主题: [Hao](https://githubfast.com/liuzhihang/halo-theme-hao)\r\n- 已启动插件:\r\n - [瞬间](https://github.com/halo-sigs/plugin-moments)\r\n - [应用市场](https://github.com/halo-dev/plugin-app-store)\r\n - [图库管理](https://github.com/halo-sigs/plugin-photos)\n\n### 使用的哪种方式运行?\n\nSource Code\n\n### 发生了什么?\n\n在默认编辑器中,当使用复制、粘贴的方式创建图片时,当修改当前图片所在位置时,会出现重复上传的问题。如下图所示:\r\n\r\n\r\n\r\n\r\n/area editor\r\n/area ui\r\n/kind bug\n\n### 相关日志输出\n\n_No response_\n\n### 附加信息\n\n_No response_",[3106,3107,3110],{"name":3024,"color":3025},{"name":3108,"color":3109},"area/editor","5C6460",{"name":3027,"color":3028},5436,"使用粘贴的方式创建的图片,在调整位置时会多次上传","2024-03-05T07:16:09Z","https://github.com/halo-dev/halo/issues/5436",0.5872939,{"description":3117,"labels":3118,"number":3121,"owner":3030,"repository":3031,"state":3032,"title":3122,"updated_at":3123,"url":3124,"score":3125},"### 系统信息\n\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)\n\n### 使用的哪种方式运行?\n\nSource Code\n\n### 发生了什么?\n\n当使用基于后端的登录方式时,在登录成功的瞬间,密码栏会显示加密后的密码字符串。\r\n\r\n\u003Cimg width=\"1905\" alt=\"image\" src=\"https://github.com/user-attachments/assets/59de29f1-c859-43b5-b46a-748ed3ecff17\">\r\n\r\n\r\n/kind bug\r\n/area core\n\n### 复现步骤\n\n_No response_\n\n### 相关日志输出\n\n_No response_\n\n### 附加信息\n\n_No response_",[3119,3120],{"name":3024,"color":3025},{"name":3042,"color":3043},6799,"基于后端登录时,用户登录成功的瞬间会出现加密后的密码串","2024-10-10T08:25:12Z","https://github.com/halo-dev/halo/issues/6799",0.58825195,{"description":3127,"labels":3128,"number":3131,"owner":3030,"repository":3031,"state":3032,"title":3132,"updated_at":3133,"url":3134,"score":3135},"### 系统信息\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_",[3129,3130],{"name":3024,"color":3025},{"name":3027,"color":3028},6756,"后台的退出登录功能失效","2024-10-05T15:08:16Z","https://github.com/halo-dev/halo/issues/6756",0.5899265,["Reactive",3137],{},["Set"],["ShallowReactive",3140],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$flJBxfC0NwAWs9Q-L-bV5GVqXPguY4KqS3hpcMxFuXcY":-1},"/halo-dev/halo/6681"]