From dec86d887629e8478455f7b4a8a22fcb9aa0f6e3 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 23 Feb 2026 00:45:33 +0900 Subject: fix(browse): use proper URL validation and match Composer's Windows browser launch Replace simple prefix check in is_valid_url with url::Url::parse() for structural validation (e.g. "https://" with no host now correctly rejected). Update Windows open_browser to use `start "web" explorer` matching Composer's HomeCommand behavior. Co-Authored-By: Claude Opus 4.6 --- crates/mozart/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/mozart/Cargo.toml') diff --git a/crates/mozart/Cargo.toml b/crates/mozart/Cargo.toml index 443cd9e..599c2a1 100644 --- a/crates/mozart/Cargo.toml +++ b/crates/mozart/Cargo.toml @@ -21,6 +21,7 @@ serde_json.workspace = true sha1.workspace = true tempfile.workspace = true tokio.workspace = true +url.workspace = true tracing-subscriber.workspace = true tracing.workspace = true -- cgit v1.3.1