WeKnora/internal/models
lyingbug 1030832c4b
fix(security): harden outbound URL SSRF protection (#2626)
* fix(security): harden outbound URL SSRF protection

* test(security): add SSRF validation tests for outbound URL caching

Introduce tests for outbound SSRF validation cache to ensure proper handling of URL validation, including cache reuse for the same origin, cache invalidation on whitelist changes, and expiration of cached entries. This enhances the robustness of SSRF protection mechanisms in the application.

* refactor: clean up whitespace in engine_factory.go and ssrf_outbound_cache.go

Removed unnecessary blank lines in engine_factory.go and adjusted variable declarations for consistency in ssrf_outbound_cache.go. This improves code readability without altering functionality.
2026-08-10 13:24:14 +08:00
..
asr fix(security): harden model client redirects 2026-07-02 19:15:46 +08:00
chat fix(security): harden outbound URL SSRF protection (#2626) 2026-08-10 13:24:14 +08:00
embedding fix(security): harden outbound URL SSRF protection (#2626) 2026-08-10 13:24:14 +08:00
limiter feat(system): expose model concurrency stats on runtime queues dashboard 2026-07-11 07:17:28 +08:00
provider fix(rerank): batch Volcengine rerank requests over API document limit 2026-07-20 20:07:21 +08:00
rerank fix(rerank): normalize NVIDIA logit scores 2026-08-03 15:07:15 +08:00
utils feat: integrate ChatBot provider and docreader 2026-04-13 17:47:24 +08:00
vlm fix(vlm): use max_completion_tokens for GPT-5 / o-series vision models 2026-08-09 08:46:17 +08:00