• 陈泽健's avatar
    fix(security): 修复5.60安全用例JSON双重编码500错误 + 部署脚本防复发 · beb0f4af
    陈泽健 提交于
    - 新增 fix_560_json_double_encoding.py:修复5.60 MySQL中67条安全用例
      tags/steps/config 双重编码(sqlite3原生读取JSON列为文本字符串,
      部署脚本再次json.dumps导致MySQL JSON列存成字符串值而非数组/对象,
      Pydantic TestCaseResponse校验报 input_type=str)
    - 验证:67条全部修复,JSON_TYPE均为ARRAY/OBJECT,API恢复200
    - deploy_security_cases_560.py 新增 _parse_json_field():加载本地用例
      时先json.loads还原JSON列,防止复发
    - HANDOFF_安全测试.md:新增S18/S19踩坑 + 2026-09-10修复记录 + P5-P7待办
    Co-Authored-By: 's avatarClaude <noreply@anthropic.com>
    beb0f4af
fix_560_json_double_encoding.py 3.0 KB