\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_",[2927,2928,2929],{"name":2868,"color":2869},{"name":2898,"color":2872},{"name":2930,"color":2931},"priority/important-soon","eb6420",7274,"文章默认编辑器上传文件失败","2025-03-07T07:55:01Z","https://github.com/halo-dev/halo/issues/7274",0.60413134,{"description":2938,"labels":2939,"number":2942,"owner":2874,"repository":2875,"state":2876,"title":2943,"updated_at":2944,"url":2945,"score":2946},"### 系统信息\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_",[2940,2941],{"name":2868,"color":2869},{"name":2886,"color":2887},5474,"个人中心文章设置页面点击可能会报错","2024-03-25T05:57:02Z","https://github.com/halo-dev/halo/issues/5474",0.6067059,{"description":2948,"labels":2949,"number":2952,"owner":2874,"repository":2875,"state":2876,"title":2953,"updated_at":2954,"url":2955,"score":2956},"### 系统信息\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_",[2950,2951],{"name":2868,"color":2869},{"name":2886,"color":2887},6756,"后台的退出登录功能失效","2024-10-05T15:08:16Z","https://github.com/halo-dev/halo/issues/6756",0.60710835,{"description":2958,"labels":2959,"number":2962,"owner":2874,"repository":2875,"state":2876,"title":2963,"updated_at":2964,"url":2965,"score":2966},"### 系统信息\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_",[2960,2961],{"name":2868,"color":2869},{"name":2898,"color":2872},6793,"使用基于后端的登录方式时可以使用中文用户名与密码进行注册登录","2024-10-10T08:25:11Z","https://github.com/halo-dev/halo/issues/6793",0.60794735,{"description":2968,"labels":2969,"number":2975,"owner":2874,"repository":2875,"state":2876,"title":2976,"updated_at":2977,"url":2978,"score":2979},"### 系统信息\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_",[2970,2971,2974],{"name":2868,"color":2869},{"name":2972,"color":2973},"area/editor","5C6460",{"name":2886,"color":2887},5436,"使用粘贴的方式创建的图片,在调整位置时会多次上传","2024-03-05T07:16:09Z","https://github.com/halo-dev/halo/issues/5436",0.6082977,["Reactive",2981],{},["Set"],["ShallowReactive",2984],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fL-bthv2CW0YCg9XQIwRKZtd54QvWrTznO9_11B65GEA":-1},"/halo-dev/halo/6773"]