mirror of
https://github.com/J3vb/OwnCord.git
synced 2026-09-03 03:50:00 +03:00
- CRIT-2: Prevent HTTP header injection in Content-Disposition via mime.FormatMediaType - HIGH-1: Call hub.GracefulStop() on server shutdown to clean up WebSocket/voice state - HIGH-2: Remove double send on serveErr channel that caused goroutine leak - HIGH-3: Handle GetUserByID error after registration to prevent nil panic - HIGH-4: Return nil,nil on sql.ErrNoRows in GetAttachmentByID (matching codebase convention) - HIGH-5: Add voiceDone channel to bound RTP goroutine lifetime on voice teardown - Fix handleVoiceICE to return VOICE_ERROR when no PC (consistent with other voice handlers) - Update tests to match corrected behavior