Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix: use get_env_setting() convenience function for SSRF validation setting

LearningCircuit4b3397e08f0f
diff --git a/src/local_deep_research/security/ssrf_validator.py b/src/local_deep_research/security/ssrf_validator.py
index 1fb62d3852..568474a0b5 100644
--- a/src/local_deep_research/security/ssrf_validator.py
+++ b/src/local_deep_research/security/ssrf_validator.py
@@ -13,7 +13,7 @@ from loguru import logger
from ..settings.env_definitions.testing import TESTING
from ..settings.env_definitions.security import PYTEST_CURRENT_TEST
-from ..settings.env_registry import registry
+from ..settings.env_registry import get_env_setting
# Blocked IP ranges (RFC1918 private networks, localhost, link-local, etc.)
@@ -91,7 +91,7 @@ def validate_url(url: str, allow_redirects: bool = True) -> bool:
- LDR_SECURITY_SSRF_DISABLE_VALIDATION=true
"""
# Bypass SSRF validation in test mode
- disable_ssrf = registry.get_env_setting(
+ disable_ssrf = get_env_setting(
"security.ssrf.disable_validation", default=False
)
if TESTING or PYTEST_CURRENT_TEST or disable_ssrf: