Skip to content

Commit 17aced2

Browse files
committed
revising
1 parent eb230bc commit 17aced2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngx_http_auth_jwt_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ static ngx_int_t ngx_http_auth_jwt_handler(ngx_http_request_t *r)
240240
return_url_idx += uri_escaped.len;
241241
r->headers_out.___location->value.data = (u_char *)return_url;
242242

243-
char* return_url_printable = ngx_str_t_to_char_ptr(r->pool, return_url);
243+
char* return_url_printable = ngx_str_t_to_char_ptr(r->pool, r->headers_out.___location->value);
244244

245245
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, "return_url: %s", return_url_printable);
246246
}

0 commit comments

Comments
 (0)