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 --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index e17f8ba..4c7949e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,6 +31,7 @@ proc-macro2 = "1.0.106" quote = "1.0.44" regex = "1.12.3" reqwest = { version = "0.13.2", features = ["json"] } +url = "2" self-replace = "1.5.0" serde = { version = "1.0.228", features = ["derive"] } serde_json = "1.0.149" -- cgit v1.3.1