mirror of
https://github.com/jo-inc/camofox-browser.git
synced 2026-10-02 04:14:41 +08:00
- Route-specific 512KB body limit on cookie endpoint (100KB global was too restrictive for real cookie files) - Move cookie count check before validation loop (skip O(n) work on oversized payloads) - Strip UTF-8 BOM from cookie files (Windows export compatibility) - Sanitize filesystem path from error messages - Fix README example to use relative cookiesPath (absolute paths are blocked) - Add Netscape parser test suite (16 tests): field parsing, HttpOnly detection, comments, empty lines, short lines, tab-in-value, Windows CRLF, BOM handling, NaN expires, real LinkedIn-format file, empty/comment-only files, trailing-tab edge case