test_ngrok_url() — langchain Function Reference
Architecture documentation for the test_ngrok_url() function in test_ssrf_protection.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 7c7c9f89_9628_c7ec_71e9_a48fcbc66382["test_ngrok_url()"] bd823e98_2344_2fbf_4aaf_e69db66a9537["TestRealWorldURLs"] 7c7c9f89_9628_c7ec_71e9_a48fcbc66382 -->|defined in| bd823e98_2344_2fbf_4aaf_e69db66a9537 style 7c7c9f89_9628_c7ec_71e9_a48fcbc66382 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/tests/unit_tests/test_ssrf_protection.py lines 294–297
def test_ngrok_url(self) -> None:
"""Test ngrok URL (should be safe as it's public)."""
url = "https://abc123.ngrok.io/webhook"
assert is_safe_url(url) is True
Domain
Subdomains
Source
Frequently Asked Questions
What does test_ngrok_url() do?
test_ngrok_url() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/test_ssrf_protection.py.
Where is test_ngrok_url() defined?
test_ngrok_url() is defined in libs/core/tests/unit_tests/test_ssrf_protection.py at line 294.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free