WeKnora/internal/application/repository/retriever
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
..
doris fix(doris): harden Stream Load HTTP with SSRF-safe client 2026-07-24 15:10:44 +08:00
elasticsearch perf(repository): exclude embedding field from Elasticsearch search response to reduce size 2026-05-21 21:11:19 +08:00
milvus fix(agent): exclude disabled FAQ entries 2026-07-29 14:40:54 +08:00
neo4j fix: revert to neo4j v6 and workaround Go 1.24 Windows compiler bug with -p=1 2026-04-11 22:08:02 +08:00
opensearch fix(security): harden outbound URL SSRF protection (#2626) 2026-08-10 13:24:14 +08:00
postgres refactor(postgres): optimize vector retrieval and HNSW settings 2026-04-17 12:11:03 +08:00
qdrant refactor(qdrant): optimize batch save, map iteration, and error wrapping (#1508) 2026-05-28 07:39:41 +08:00
sqlite fix(sqlite): treat zero vector threshold as no filter 2026-07-31 10:59:40 +08:00
tencentvectordb feat(retriever): configure Tencent VectorDB replicas via env 2026-06-22 20:21:25 +08:00
weaviate fix: resolve failing test and build errors 2026-04-22 21:17:29 +08:00