toyplot
toyplot copied to clipboard
Fix XSS vulnerability in inline scripts (Issue #218)
Summary
- escape literal sequences in generated inline JavaScript to block injection
- add a unittest-based test suite with coverage for the escaping behavior
- hook the new tests into CI via the existing GitHub Actions workflow
Testing
- ./tests/run_tests.sh