emozilla
b04799a90d
fix(url-safety): a managed allow_private_urls pin decides first
...
The first commit on this branch laid the managed scope over the profile's
config for security.allow_private_urls, but _resolve_allow_private_urls()
still returned on HERMES_ALLOW_PRIVATE_URLS before reading any config, and
accepted either spelling of the key. A managed
`security.allow_private_urls: false` therefore lost to the variable (shell
or the profile's .env) and to a profile's legacy
`browser.allow_private_urls: true`.
_managed_allow_private_urls() now reads the managed scope's own value first
(security.allow_private_urls, else the legacy browser.allow_private_urls; a
null value pins nothing), and that value decides the guard in both
directions. Without a pin the order is unchanged: the variable, then either
config key. This is the managed-scope guide's rule for a pinned key, which
wins over the user's config.yaml, .env and the shell environment.
Cloud and CDP browsers read browser.allow_private_urls as their own switch,
so an administrator pins that key as well to hold them. That reader is
unchanged; the security guide now says both.
2026-11-20 14:30:53 -05:00
..
2026-11-16 21:54:46 +05:30
2026-11-18 17:51:44 -08:00
2026-11-16 21:55:47 +05:30
2026-11-20 03:14:20 +05:30
2026-11-16 14:55:12 +05:30
2026-11-16 21:54:46 +05:30
2026-11-13 17:18:43 -08:00
2026-11-15 17:24:08 +01:00
2026-11-15 16:02:36 +01:00
2026-11-16 15:22:35 +05:30
2026-11-15 18:29:46 +01:00
2026-11-15 22:23:01 +01:00
2026-11-16 21:54:30 +05:30
2026-11-16 21:54:30 +05:30
2026-11-15 02:14:19 +01:00
2026-11-15 19:15:25 +01:00
2026-11-15 20:10:57 +01:00
2026-11-19 12:35:39 +01:00
2026-11-16 21:54:30 +05:30
2026-11-14 20:51:51 +01:00
2026-11-15 22:07:16 +01:00
2026-11-15 22:07:16 +01:00
2026-11-15 16:01:26 +01:00
2026-11-16 21:54:30 +05:30
2026-11-15 20:10:57 +01:00
2026-11-15 16:01:25 +01:00
2026-11-15 22:07:16 +01:00
2026-11-15 22:23:01 +01:00
2026-11-16 21:54:30 +05:30
2026-11-17 17:51:23 +01:00
2026-11-19 00:41:03 -08:00
2026-11-16 15:40:08 +05:30
2026-11-17 17:51:22 +01:00
2026-11-17 17:51:20 +01:00
2026-11-13 17:32:23 -08:00
2026-11-14 14:42:50 +01:00
2026-11-16 21:54:46 +05:30
2026-11-19 22:07:12 +01:00
2026-11-19 22:07:12 +01:00
2026-11-16 21:54:46 +05:30
2026-11-19 23:41:46 +01:00
2026-11-16 15:40:08 +05:30
2026-11-14 16:09:37 +01:00
2026-11-14 15:34:38 +01:00
2026-11-17 10:29:07 -08:00
2026-11-16 21:55:16 +05:30
2026-11-16 21:55:16 +05:30
2026-11-16 15:39:38 +05:30
2026-11-20 14:30:53 -05:00
2026-11-17 17:51:22 +01:00
2026-11-17 17:51:23 +01:00
2026-11-17 17:51:20 +01:00
2026-11-16 21:58:16 +05:30
2026-11-17 17:51:23 +01:00
2026-11-16 21:58:16 +05:30
2026-11-16 15:23:23 +05:30
2026-11-17 17:51:20 +01:00
2026-11-18 03:40:34 -08:00
2026-11-17 17:51:23 +01:00
2026-11-16 21:58:16 +05:30
2026-11-17 17:51:20 +01:00
2026-11-17 19:10:59 +01:00
2026-11-16 21:54:46 +05:30
2026-11-16 15:39:10 +05:30
2026-11-20 14:30:53 -05:00
2026-11-16 21:56:33 +05:30
2026-11-14 18:28:19 +05:30
2026-11-17 15:36:07 +05:30
2026-11-17 15:36:07 +05:30
2026-11-17 15:36:07 +05:30
2026-11-14 13:24:10 +01:00
2026-11-16 15:22:48 +05:30
2026-11-18 20:34:43 -08:00
2026-11-16 15:22:48 +05:30
2026-11-16 21:56:33 +05:30
2026-11-17 11:30:25 -05:00
2026-11-19 03:15:20 -08:00
2026-11-17 10:19:29 -08:00
2026-11-17 02:36:12 -08:00
2026-11-16 15:40:08 +05:30
2026-11-17 17:51:20 +01:00
2026-11-14 01:03:00 -08:00
2026-11-16 15:39:10 +05:30
2026-11-16 15:39:10 +05:30
2026-11-14 11:26:33 -08:00
2026-11-14 12:46:07 +01:00
2026-11-16 15:39:10 +05:30
2026-11-16 15:39:10 +05:30
2026-11-18 20:34:23 -08:00
2026-11-14 12:44:52 +01:00
2026-11-19 10:38:40 -08:00
2026-11-14 17:07:10 +01:00
2026-11-16 15:39:10 +05:30
2026-11-14 22:52:16 +01:00
2026-11-19 10:38:40 -08:00
2026-11-16 21:55:47 +05:30
2026-11-17 17:51:20 +01:00
2026-11-14 11:26:33 -08:00
2026-11-14 20:55:55 +01:00
2026-11-19 10:38:40 -08:00
2026-11-16 21:55:47 +05:30
2026-11-19 10:38:40 -08:00
2026-11-14 13:24:10 +01:00
2026-11-14 02:11:02 -08:00
2026-11-17 06:41:24 +05:30
2026-11-14 21:01:48 +01:00
2026-11-14 01:11:55 -08:00
2026-11-17 10:29:07 -08:00
2026-11-16 21:58:16 +05:30
2026-11-17 17:51:20 +01:00
2026-11-15 11:49:27 -08:00
2026-11-17 10:29:07 -08:00
2026-11-17 17:51:20 +01:00
2026-11-18 20:34:23 -08:00
2026-11-14 20:51:50 +01:00
2026-11-17 19:10:57 +01:00
2026-11-17 17:51:20 +01:00
2026-11-15 22:07:17 +01:00
2026-11-16 15:24:44 +05:30
2026-11-14 12:50:47 +01:00
2026-11-14 16:12:05 +01:00
2026-11-16 21:57:07 +05:30
2026-11-14 12:50:47 +01:00
2026-11-17 06:41:24 +05:30
2026-11-17 06:41:24 +05:30
2026-11-16 15:24:44 +05:30
2026-11-16 15:24:44 +05:30
2026-11-14 17:09:40 +01:00
2026-11-16 15:24:44 +05:30
2026-11-16 15:24:44 +05:30
2026-11-16 21:57:07 +05:30
2026-11-14 21:02:31 +01:00
2026-11-16 21:53:44 +05:30
2026-11-17 10:29:07 -08:00
2026-11-14 13:09:34 +01:00
2026-11-20 03:14:20 +05:30
2026-11-17 10:29:07 -08:00
2026-11-15 16:09:33 +01:00
2026-11-15 11:38:04 -08:00
2026-11-17 10:29:07 -08:00
2026-11-14 11:26:33 -08:00
2026-11-16 21:54:30 +05:30
2026-11-17 17:51:20 +01:00
2026-11-20 03:29:20 +05:30
2026-11-19 03:15:20 -08:00
2026-11-16 21:54:46 +05:30
2026-11-14 12:48:01 +01:00
2026-11-16 21:53:44 +05:30
2026-11-16 15:38:52 +05:30
2026-11-15 06:58:39 -05:00
2026-11-19 19:00:02 +05:30
2026-11-14 14:41:27 +05:30
2026-11-16 21:53:44 +05:30
2026-11-20 14:30:53 -05:00
2026-11-17 02:36:12 -08:00
2026-11-16 15:38:52 +05:30
2026-11-16 15:38:52 +05:30
2026-11-16 21:53:44 +05:30
2026-11-14 12:47:18 +01:00
2026-11-14 03:43:05 -08:00
2026-11-14 01:20:57 -08:00