Skip to content

Commit

Permalink
missed (somehwat duplicative) use of redirect_uri at site level. Ensu…
Browse files Browse the repository at this point in the history
…re location-level is both places
  • Loading branch information
brandonk10 committed Aug 10, 2023
1 parent fadf1c2 commit 6d521bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ char* oidc_get_current_url(request_rec *r, const apr_byte_t x_forwarded_headers)
* infer a full absolute URL from the (optional) relative one
*/
const char *oidc_get_absolute_url(request_rec *r, oidc_cfg *cfg, const char *url) {
char *redirect_uri = cfg->redirect_uri;
const char *redirect_uri = oidc_get_redirect_uri(r, cfg);
if ((url != NULL)
&& (url[0] == OIDC_CHAR_FORWARD_SLASH)) {
url = apr_pstrcat(r->pool, oidc_get_current_url_base(r, cfg->x_forwarded_headers),
Expand Down

0 comments on commit 6d521bc

Please sign in to comment.