fix: auto repair bugs #47, #46, #45, #44, #43, #42 #2

Merged
zyc merged 1 commits from fix/auto-20260225-162641 into main 2026-02-25 16:34:19 +08:00
Owner

自动修复报告

修复的 Bug:

  • #47: KeyError - Missing voice_id key when creating spirit with default voice
  • #46: ValueError - Invalid date format in batch export: expected YYYY-MM-DD
  • #45: TypeError - NoneType object has no attribute nickname in spirit list API
  • #44: SQLInjectionWarning - Unsanitized user input in raw SQL query for device search
  • #43: DataCorruptionError - Race condition in points deduction allows negative balance
  • #42: SecurityError - JWT token validation bypassed when token is empty string

⚠️ 包含高严重等级 Bug (max=10/10),需人工审核

修改文件:

  • apps/spirits/serializers.py
  • apps/spirits/views.py
## 自动修复报告 修复的 Bug: - #47: KeyError - Missing voice_id key when creating spirit with default voice - #46: ValueError - Invalid date format in batch export: expected YYYY-MM-DD - #45: TypeError - NoneType object has no attribute nickname in spirit list API - #44: SQLInjectionWarning - Unsanitized user input in raw SQL query for device search - #43: DataCorruptionError - Race condition in points deduction allows negative balance - #42: SecurityError - JWT token validation bypassed when token is empty string ⚠️ **包含高严重等级 Bug (max=10/10),需人工审核** 修改文件: - `apps/spirits/serializers.py` - `apps/spirits/views.py`
zyc added 1 commit 2026-02-25 16:33:17 +08:00
zyc merged commit 80e1a783ba into main 2026-02-25 16:34:19 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: zyc/rtc_backend#2
No description provided.