From 8aa16e1833ad71ecdcb5597e171780e9b26a68e4 Mon Sep 17 00:00:00 2001 From: Ryan Siddle Date: Tue, 10 Feb 2026 22:47:25 +0000 Subject: [PATCH] fix: preserve chrome-extension:// and chrome:// URL schemes in CLI The CLI's URL normalization was auto-prepending https:// to any URL whose scheme wasn't in the allowlist (http, https, about, data, file). This caused chrome-extension:// URLs to become https://chrome-extension//... which fails with ERR_NAME_NOT_RESOLVED, preventing navigation to extension pages (popup, side panel, options). Add chrome-extension:// and chrome:// to the open command's scheme allowlist, and update the record start/restart commands to preserve any URL that already contains :// instead of only checking for http. Fixes #409 --- cli/src/commands.rs | 44 ++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 40 insertions(+), 4 deletions(-) diff --git a/cli/src/commands.rs b/cli/src/commands.rs index 8c52752f..a1080729 100644 --- a/cli/src/commands.rs +++ b/cli/src/commands.rs @@ -91,6 +91,8 @@ pub fn parse_command(args: &[String], flags: &Flags) -> Result Result Result