Repository navigation
legends-captions v0.1.4
legends-captions v0.1.4
FFmpeg filtergraph injection hardening, wheel-safe path resolution, symlink and file-size bounds, and sdist completeness for legends-captions.
What Changed
- Added
escape_ffmpeg_ass_filter(),format_ffmpeg_ass_filtergraph(), and thelegends-captions ffmpeg-filter --ass <path>CLI subcommand to safely escape Windows drive colons, backslashes, brackets, commas, semicolons, and single quotes ('\\'') inside FFmpeglibavfilterass=filename='...'expressions while rejecting control characters and leading-option flags. - Hardened
escape_ass()to normalize\r\nand\r, strip ASCII control characters, and escape\,{, and}before style wrapping, and validated ASS style names, font names, canvas dimensions, and finite non-negative timestamps (math.isfinite,parse_constantrejection ofNaN/Infinity). - Made
PROJECT_ROOTwheel-safe so installed wheel runs resolve relative outputs against the active working directory rather than<venv>/Lib, added ancestor-chainis_symlink()refusal and size caps (1 MiBconfig,25 MiBinput), and enforced fail-closed--overwritesemantics onrender-ass. - Added
MANIFEST.inso source distributions include all governance, recipe, router skill, and test files, removed private session UUID fallbacks fromscripts/stage_*.py, and upgradedscripts/check_release.py.