docfast/src/utils
OpenClaw Backend Subagent 7d44524ae0
Some checks failed
Build & Deploy to Staging / Build & Deploy to Staging (push) Has been cancelled
Add input validation for waitUntil and size limits for headerTemplate/footerTemplate
- Add waitUntil validation with allowed values: load, domcontentloaded, networkidle0, networkidle2
- Add size limit validation for headerTemplate and footerTemplate (100KB max)
- Follow TDD approach: 15 new failing tests, then implementation
- All 462 tests passing (was 447)
2026-03-04 11:04:46 +01:00
..
errors.ts feat: unit tests for security/utility functions (isPrivateIP, isTransientError, markdown, escapeHtml) 2026-02-25 19:04:59 +00:00
html.ts feat: unit tests for security/utility functions (isPrivateIP, isTransientError, markdown, escapeHtml) 2026-02-25 19:04:59 +00:00
network.ts feat: unit tests for security/utility functions (isPrivateIP, isTransientError, markdown, escapeHtml) 2026-02-25 19:04:59 +00:00
pdf-options.ts Add input validation for waitUntil and size limits for headerTemplate/footerTemplate 2026-03-04 11:04:46 +01:00
sanitize.ts refactor: deduplicate sanitizeFilename, add template+sanitize unit tests, fix esc single-quote 2026-02-25 16:04:22 +00:00