From d4cd3bb8d7801ab16ebe80cde13d9f7b2de758d3 Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Sun, 9 Mar 2025 22:18:38 -0400 Subject: [PATCH] copy literals_safe_for --- src/lib/unlang/compile.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/unlang/compile.c b/src/lib/unlang/compile.c index b10198a911..5a821f1c3b 100644 --- a/src/lib/unlang/compile.c +++ b/src/lib/unlang/compile.c @@ -3578,8 +3578,9 @@ static unlang_t *compile_if_subsection(unlang_t *parent, unlang_compile_t *unlan .dict_def = xr_rules.tr_rules->dict_def, .list_def = request_attr_request, .allow_unresolved = true, - .allow_unknown = true - } + .allow_unknown = true, + }, + .literals_safe_for = unlang_ctx->rules->literals_safe_for, }; fr_sbuff_parse_rules_t p_rules = { }; -- 2.47.2