From bb6cb58db30e9fc9d5f004b5b2ffec7169766371 Mon Sep 17 00:00:00 2001 From: taylanbakircioglu Date: Thu, 19 Mar 2026 12:07:56 +0300 Subject: [PATCH] fix: auto-correct redirect target when switching type to scheme When user changes redirect type from location/prefix to scheme, the target field (e.g. "https://example.com") stays as-is but the UI shows a blank Select. If saved without re-selecting, invalid config would be sent. Now auto-sets target to "https" when switching to scheme type. Made-with: Cursor --- frontend/src/components/ACLRuleBuilder.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/ACLRuleBuilder.js b/frontend/src/components/ACLRuleBuilder.js index a579ae7..b6ddda5 100644 --- a/frontend/src/components/ACLRuleBuilder.js +++ b/frontend/src/components/ACLRuleBuilder.js @@ -538,7 +538,13 @@ function RedirectRuleCard({ rule, index, onChange, onDelete }) {