- 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 |
||
|---|---|---|
| .. | ||
| session | ||
| auth.go | ||
| chunk.go | ||
| custom_agent.go | ||
| datasource.go | ||
| evaluation.go | ||
| faq.go | ||
| im.go | ||
| initialization.go | ||
| knowledge.go | ||
| knowledgebase.go | ||
| mcp_service.go | ||
| message.go | ||
| model.go | ||
| organization.go | ||
| skill_handler.go | ||
| system.go | ||
| tag.go | ||
| tenant.go | ||
| web_search.go | ||
| web_search_provider.go | ||