From f7beb71a9a867ebda6cfcf69433c8cd96dd4bf53 Mon Sep 17 00:00:00 2001 From: Hans Zandbelt Date: Mon, 9 Sep 2024 08:48:46 +0200 Subject: [PATCH] fix accepting custom cookie names in OIDCOAuthAcceptTokenAs i.e. allow for cookie:; see #1261; thanks @bbartke bump to 2.4.16.4rc0 Signed-off-by: Hans Zandbelt --- ChangeLog | 4 ++++ configure.ac | 2 +- src/cfg/dir.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0a62dd5c..88dcef3d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +09/09/2024 +- fix accepting custom cookie names in OIDCOAuthAcceptTokenAs cookie:; see #1261; thanks @bbartke +- bump to 2.4.16.4rc0 + 09/06/2024 - allow overriding globally set OIDCCacheType back to shm in vhosts - correct typo in child initialization routines when using multiple vhosts; closes #1208; thanks @studersi diff --git a/configure.ac b/configure.ac index 032f2c2d..1079fb84 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([mod_auth_openidc],[2.4.16.3],[hans.zandbelt@openidc.com]) +AC_INIT([mod_auth_openidc],[2.4.16.4rc0],[hans.zandbelt@openidc.com]) AC_SUBST(NAMEVER, AC_PACKAGE_TARNAME()-AC_PACKAGE_VERSION()) diff --git a/src/cfg/dir.c b/src/cfg/dir.c index f41fdd4f..f40e9044 100644 --- a/src/cfg/dir.c +++ b/src/cfg/dir.c @@ -225,7 +225,7 @@ const char *oidc_cmd_dir_accept_oauth_token_in_set(cmd_parms *cmd, void *m, cons } rv = oidc_cfg_parse_option(cmd->pool, oidc_oauth_accept_token_in_options, - OIDC_CFG_OPTIONS_SIZE(oidc_oauth_accept_token_in_options), arg, &v); + OIDC_CFG_OPTIONS_SIZE(oidc_oauth_accept_token_in_options), s, &v); if (rv != NULL) return OIDC_CONFIG_DIR_RV(cmd, rv);