\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_",[3083,3084,3085],{"name":3024,"color":3025},{"name":3054,"color":3028},{"name":3086,"color":3087},"priority/important-soon","eb6420",7274,"文章默认编辑器上传文件失败","2025-03-07T07:55:01Z","https://github.com/halo-dev/halo/issues/7274",0.6041314,{"description":3094,"labels":3095,"number":3098,"owner":3030,"repository":3031,"state":3032,"title":3099,"updated_at":3100,"url":3101,"score":3102},"### 系统信息\n\n- 外部访问地址: http://localhost:8090\r\n- 启动时间: 2024-03-08 11:10\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- 已激活主题: [Sakura](https://github.com/LIlGG/halo-theme-sakura.git)\r\n- 已启动插件:\r\n - [评论组件](https://github.com/halo-dev/plugin-comment-widget)\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\n1. 在个人中心文章页面,发布一篇文章。\r\n2. 打开文章编辑页面,点击设置。\r\n3. 任意修改内容,点击保存。\r\n4. 此时有概率出现报错。\r\n\r\n报错内容如下\r\n```\r\n Failed to update table [extensions]; Version does not match for row with Id\r\n```\r\n\r\n在 #5370 中,在设置时获取了最新的内容,但并不能完全解决这个问题,因此需要优化个人中心文章保存时的逻辑,在点击保存按钮之后再去获取最新 version 。\r\n\r\n/area ui\r\n/kind bug\n\n### 相关日志输出\n\n_No response_\n\n### 附加信息\n\n_No response_",[3096,3097],{"name":3024,"color":3025},{"name":3042,"color":3043},5474,"个人中心文章设置页面点击可能会报错","2024-03-25T05:57:02Z","https://github.com/halo-dev/halo/issues/5474",0.6067059,{"description":3104,"labels":3105,"number":3108,"owner":3030,"repository":3031,"state":3032,"title":3109,"updated_at":3110,"url":3111,"score":3112},"### 系统信息\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_",[3106,3107],{"name":3024,"color":3025},{"name":3042,"color":3043},6756,"后台的退出登录功能失效","2024-10-05T15:08:16Z","https://github.com/halo-dev/halo/issues/6756",0.60710835,{"description":3114,"labels":3115,"number":3118,"owner":3030,"repository":3031,"state":3032,"title":3119,"updated_at":3120,"url":3121,"score":3122},"### 系统信息\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_",[3116,3117],{"name":3024,"color":3025},{"name":3054,"color":3028},6793,"使用基于后端的登录方式时可以使用中文用户名与密码进行注册登录","2024-10-10T08:25:11Z","https://github.com/halo-dev/halo/issues/6793",0.60794735,{"description":3124,"labels":3125,"number":3131,"owner":3030,"repository":3031,"state":3032,"title":3132,"updated_at":3133,"url":3134,"score":3135},"### 系统信息\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_",[3126,3127,3130],{"name":3024,"color":3025},{"name":3128,"color":3129},"area/editor","5C6460",{"name":3042,"color":3043},5436,"使用粘贴的方式创建的图片,在调整位置时会多次上传","2024-03-05T07:16:09Z","https://github.com/halo-dev/halo/issues/5436",0.6082977,["Reactive",3137],{},["Set"],["ShallowReactive",3140],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fL-bthv2CW0YCg9XQIwRKZtd54QvWrTznO9_11B65GEA":-1},"/halo-dev/halo/6773"]