WeKnora/internal/infrastructure/docparser
nullkey 0b64ef9bd1 fix(security): support IPv6 in SSRF validation via whitelist mechanism
- Keep strict mode blocking all direct IPs (IPv4 and IPv6 uniformly)
- Unify all SSRF call sites to use ValidateURLForSSRF (whitelist-aware)
- Add Teredo (2001:0000::/32) and 6to4 (2002::/16) tunnel detection
- Make redirect handler and DNS pinning respect SSRF_WHITELIST
- Unexport isSSRFSafeURL to prevent future callers bypassing whitelist
- Add scheme validation for whitelisted redirect targets
- Document IPv6 whitelist syntax in .env.example
- Add comprehensive IPv6 test coverage
2026-03-31 20:45:15 +08:00
..
builtin_converter.go feat(image-multimodal): add task enqueuing for question generation based on image knowledge 2026-03-25 22:08:29 +08:00
engine_registry.go feat(i18n): add JSON file type support across multiple locales 2026-03-25 22:08:29 +08:00
grpc_parser.go refactor: simplify image handling in _resolve_images function 2026-03-03 22:23:23 +08:00
helpers.go feat: enhance document loading and state management in doc-content component 2026-03-02 21:21:49 +08:00
http_parser.go refactor: simplify image handling in _resolve_images function 2026-03-03 22:23:23 +08:00
image_resolver.go fix(security): support IPv6 in SSRF validation via whitelist mechanism 2026-03-31 20:45:15 +08:00
image_resolver_test.go feat(docparser): enhance image resolution capabilities in markdown and HTML 2026-03-25 22:08:29 +08:00
json_converter.go feat(docparser): enhance sortedKeys function for numeric string sorting 2026-03-25 22:08:29 +08:00
json_converter_test.go feat(i18n): add JSON file type support across multiple locales 2026-03-25 22:08:29 +08:00
mineru_cloud_converter.go fix(security): support IPv6 in SSRF validation via whitelist mechanism 2026-03-31 20:45:15 +08:00
mineru_converter.go feat: enhance MinerU response handling for document parsing 2026-03-05 18:14:14 +08:00
resolve_remote_images_test.go feat(knowledge): offload manual processing to async tasks 2026-03-18 21:56:34 +08:00