From 6cf1e837c8e7e5f1310e1e64c0e299f7ffffab51 Mon Sep 17 00:00:00 2001 From: Oleksander Piskun Date: Sat, 31 Jan 2026 10:08:10 +0200 Subject: [PATCH] fix(HaRP): use correct path for FRP address validation Signed-off-by: Oleksander Piskun --- lib/Service/DaemonConfigService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/DaemonConfigService.php b/lib/Service/DaemonConfigService.php index 07b3e077..0d87cb87 100644 --- a/lib/Service/DaemonConfigService.php +++ b/lib/Service/DaemonConfigService.php @@ -52,7 +52,7 @@ public function registerDaemonConfig(array $params): ?DaemonConfig { } $bad_patterns = ['http', 'https', 'tcp', 'udp', 'ssh']; $docker_host = (string)$params['host']; - $frp_host = (string)($params['harp']['frp_address'] ?? ''); + $frp_host = (string)($params['deploy_config']['harp']['frp_address'] ?? ''); foreach ($bad_patterns as $bad_pattern) { if (str_starts_with($docker_host, $bad_pattern . '://')) { $this->logger->error('Failed to register daemon configuration. `host` must not include a protocol.');