From: Nick Porter Date: Thu, 24 Aug 2023 10:53:30 +0000 (+0100) Subject: Correctly parent value boxes when concatenating X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df428e4fcff0b304a6502611074664678d1e20f4;p=thirdparty%2Ffreeradius-server.git Correctly parent value boxes when concatenating --- diff --git a/src/modules/rlm_ldap/rlm_ldap.c b/src/modules/rlm_ldap/rlm_ldap.c index da1b42a7abc..be68de2490b 100644 --- a/src/modules/rlm_ldap/rlm_ldap.c +++ b/src/modules/rlm_ldap/rlm_ldap.c @@ -1048,10 +1048,8 @@ static unlang_action_t mod_map_proc(rlm_rcode_t *p_result, void *mod_inst, UNUSE RETURN_MODULE_FAIL; } - if (fr_value_box_list_concat_in_place(request, - url_head, url, FR_TYPE_STRING, - FR_VALUE_BOX_LIST_FREE, true, - SIZE_MAX) < 0) { + if (fr_value_box_list_concat_in_place(url_head, url_head, url, FR_TYPE_STRING, + FR_VALUE_BOX_LIST_FREE, true, SIZE_MAX) < 0) { REDEBUG("Failed concatenating input"); RETURN_MODULE_FAIL; }