Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/geekcomputers/Python
/ is_safe_url
Function
is_safe_url
JARVIS/actions.py:53–55 ·
view source on GitHub ↗
(url)
Source
from the content-addressed store, hash-verified
51
52
53
def
is_safe_url(url):
54
parsed = urlparse(url)
55
return
parsed.scheme in {
"http"
,
"https"
} and bool(parsed.netloc)
56
57
58
def
open_web_target(target):
Callers
1
open_web_target
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected