aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/Cargo.toml
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-02-23 00:45:33 +0900
committernsfisis <nsfisis@gmail.com>2026-02-23 00:45:33 +0900
commitdec86d887629e8478455f7b4a8a22fcb9aa0f6e3 (patch)
treed29aab13dbb3afc51c2755796c906b87fbab2e74 /crates/mozart/Cargo.toml
parent530ebc5e425b254f74fa0d5fce77b87f95395f26 (diff)
downloadphp-mozart-dec86d887629e8478455f7b4a8a22fcb9aa0f6e3.tar.gz
php-mozart-dec86d887629e8478455f7b4a8a22fcb9aa0f6e3.tar.zst
php-mozart-dec86d887629e8478455f7b4a8a22fcb9aa0f6e3.zip
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 <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart/Cargo.toml')
-rw-r--r--crates/mozart/Cargo.toml1
1 files changed, 1 insertions, 0 deletions
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