validate_agentmux_url

Function validate_agentmux_url 

Source
pub fn validate_agentmux_url(url_str: &str) -> Result<(), String>
Expand description

Validate an AgentMux URL for SSRF protection.

Only allows https:// or http://localhost/127.0.0.1/::1.