Skip to content

Commit d4beab9

Browse files
author
a.i.kuleshov
committed
feat: add query parameters support
1 parent f52d362 commit d4beab9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/ngx_http_auth_jwt_module.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -543,10 +543,7 @@ static char * getJwt(ngx_http_request_t *r, ngx_str_t auth_jwt_validation_type)
543543
}
544544
else if (auth_jwt_validation_type.len > sizeof("QUERY=") && ngx_strncmp(auth_jwt_validation_type.data, "QUERY=", sizeof("QUERY=") - 1)==0)
545545
{
546-
auth_jwt_validation_type.data += sizeof("QUERY=") - 1;
547-
auth_jwt_validation_type.len -= sizeof("QUERY=") - 1;
548-
549-
ngx_log_error(NGX_LOG_DEBUG, r->connection->log, 0, "request uri is : %s", r->uri);
546+
ngx_log_error(NGX_LOG_DEBUG, r->connection->log, 0, "auth_jwt_validation_type.len %d", auth_jwt_validation_type.len);
550547
}
551548
else if (auth_jwt_validation_type.len > sizeof("COOKIE=") && ngx_strncmp(auth_jwt_validation_type.data, "COOKIE=", sizeof("COOKIE=") - 1)==0)
552549
{

0 commit comments

Comments
 (0)