Skip to content

fix: harden IMDb IRC output - #145

Merged
variablenix merged 1 commit into
mainfrom
fix/imdb-production-hardening
Aug 23, 2026
Merged

fix: harden IMDb IRC output#145
variablenix merged 1 commit into
mainfrom
fix/imdb-production-hardening

Conversation

@variablenix

Copy link
Copy Markdown
Owner

Summary

  • enforce the 512-byte IRC wire limit with UTF-8-safe truncation on every IMDb response path
  • remove variation selectors, invisible Unicode format controls, IRC controls, and line breaks from IMDb output
  • reject unsafe invisible characters in queries
  • add regression coverage for one-message behavior, multibyte output, upstream failures, malformed JSON, and cancellation
  • document byte-limit and terminal-safety behavior

Validation

  • go test -count=1 ./...
  • go test -race -count=1 ./...
  • go vet ./...
  • go mod verify
  • govulncheck ./... (no vulnerabilities found)

@variablenix
variablenix merged commit 6a1d60b into main Aug 23, 2026
3 checks passed
@variablenix
variablenix deleted the fix/imdb-production-hardening branch August 23, 2026 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant