aboutsummaryrefslogtreecommitdiffhomepage
path: root/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 /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 'Cargo.toml')
-rw-r--r--Cargo.toml1
1 files changed, 1 insertions, 0 deletions
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"