- 添加 HTTP 响应状态码检查,防止状态错误被忽略 - 添加 HTTP Client 结构体复用,避免每次创建新客户端 - 在 compressImageIfNeeded 中使用带 Timeout 的 Client - 添加 URL scheme 校验,防止 SSRF 攻击 - 使用 LimitedReader 限制下载图片大小(10MB) - 修复 GetJob 数据竞争,复制数据后返回 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- 使用 resize.Lanczos3 替代不存在的 resize.Lanczos - 使用 os.Getenv 替代缺失的 config 方法 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>