From b455a58aa275bf0ed7a420464bc6514cbd760a2f Mon Sep 17 00:00:00 2001 From: Ryan Siddle Date: Thu, 26 Feb 2026 17:30:02 +0000 Subject: [PATCH] fix: preserve chrome-extension:// and chrome:// URL schemes in CLI (#410) 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 3252c26..d0e4969 100644 --- a/cli/src/commands.rs +++ b/cli/src/commands.rs @@ -104,6 +104,8 @@ pub fn parse_command(args: &[String], flags: &Flags) -> Result Result Result