Skip to content

Commit

Permalink
Make request subsection required
Browse files Browse the repository at this point in the history
Without this, the check for mandatory URI doesn't happen.
  • Loading branch information
ndptech committed Dec 13, 2024
1 parent debdbf6 commit 260cfdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rlm_rest/rlm_rest.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ static const call_env_method_t _var = { \
.env = (call_env_parser_t[]){ \
{ FR_CALL_ENV_SUBSECTION(_section, NULL, CALL_ENV_FLAG_NONE, \
((call_env_parser_t[]) { \
{ FR_CALL_ENV_SUBSECTION("request", NULL, CALL_ENV_FLAG_NONE, \
{ FR_CALL_ENV_SUBSECTION("request", NULL, CALL_ENV_FLAG_REQUIRED, \
((call_env_parser_t[]) { \
{ FR_CALL_ENV_OFFSET("uri", FR_TYPE_STRING, CALL_ENV_FLAG_REQUIRED | CALL_ENV_FLAG_CONCAT, rlm_rest_call_env_t, request.uri), \
.pair.escape = { \
Expand Down

0 comments on commit 260cfdc

Please sign in to comment.