\n\n### 复现步骤\n\n_No response_\n\n### 相关日志输出\n\n```shell\n\n```\n\n### 附加信息\n\n_No response_",[2958,2959],{"name":2935,"color":2936},{"name":2938,"color":2939},7385,"/actuator/startup 端点 404","2025-04-25T04:41:54Z","https://github.com/halo-dev/halo/issues/7385",0.7478457,{"description":2966,"labels":2967,"number":2970,"owner":2874,"repository":2875,"state":2885,"title":2971,"updated_at":2972,"url":2973,"score":2974},"### 系统信息\n\n- 外部访问地址: http://localhost:8090\r\n- 启动时间: 2024-10-08 11:36\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.0.2](https://github.com/halo-dev/plugin-app-store)\r\n - [增强备份(Backup IMproved) 1.0.0](https://halo.run/store/apps/app-dHakX)\r\n - [OAuth2 认证 1.1.0](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在编辑器中上传一个 **不符合附件存储策略限制** 的文件时,`/apis/uc.api.storage.halo.run/v1alpha1/attachments?waitForPermalink=true` 接口会返回 200 并创建一个 `Attachment` 实例。\r\n\r\n而在附件中上传时则会抛出正确的错误。\r\n\r\n期望当上传的文件不符合要求时,此接口也返回与在附件中上传时相同的错误。\r\n\r\n/area core\r\n/kind bug\n\n### 复现步骤\n\n1. 打开文章或页面默认编辑器。\r\n2. 添加一个图片。\r\n3. 点击图片中的上传按钮。\r\n\t\u003Cimg width=\"779\" alt=\"image\" src=\"https://github.com/user-attachments/assets/02e98e06-638f-4fb9-93f0-5cd91aa1e605\">\r\n4. 上传一张不符合附件存储策略限制的文件。\r\n5. 可以观察到接口返回 200,且附件中存在了一个 `Attachment` 的实例。\r\n\t\u003Cimg width=\"1890\" alt=\"image\" src=\"https://github.com/user-attachments/assets/3aa2122b-c8a8-4532-9013-455449a4bd42\">\r\n\n\n### 相关日志输出\n\n_No response_\n\n### 附加信息\n\n_No response_",[2968,2969],{"name":2935,"color":2936},{"name":2938,"color":2939},6782,"在编辑器中上传超过限制的附件不会失败","2024-10-09T08:34:31Z","https://github.com/halo-dev/halo/issues/6782",0.7503873,["Reactive",2976],{},["Set"],["ShallowReactive",2979],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f5hSi8M7Qcrb1JGH1_0O8cx_8o6m7nAKgch3KMI697OE":-1},"/halo-dev/halo/5345"]