@@ -206,16 +206,14 @@ static ngx_int_t ngx_http_auth_jwt_handler(ngx_http_request_t *r)
206
206
uri .len = request_uri_var -> len ;
207
207
ngx_memcpy (uri .data , request_uri_var -> data , request_uri_var -> len );
208
208
209
- char * tmp = ngx_str_t_to_char_ptr (r -> pool , uri );
210
-
211
- ngx_log_error (NGX_LOG_ERR , r -> connection -> log , 0 , "found uri with querystring %s" , tmp );
209
+ // ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, "found uri with querystring %s", ngx_str_t_to_char_ptr(r->pool, uri));
212
210
}
213
211
else
214
212
{
215
213
// fallback to the querystring without params
216
214
uri = r -> uri ;
217
215
218
- ngx_log_error (NGX_LOG_ERR , r -> connection -> log , 0 , "fallback to querystring without params" );
216
+ // ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, "fallback to querystring without params");
219
217
}
220
218
221
219
// escape the URI
@@ -240,9 +238,7 @@ static ngx_int_t ngx_http_auth_jwt_handler(ngx_http_request_t *r)
240
238
return_url_idx += uri_escaped .len ;
241
239
r -> headers_out .___location -> value .data = (u_char * )return_url ;
242
240
243
- char * return_url_printable = ngx_str_t_to_char_ptr (r -> pool , r -> headers_out .___location -> value );
244
-
245
- ngx_log_error (NGX_LOG_ERR , r -> connection -> log , 0 , "return_url: %s" , return_url_printable );
241
+ // ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, "return_url: %s", ngx_str_t_to_char_ptr(r->pool, r->headers_out.___location->value));
246
242
}
247
243
else
248
244
{
0 commit comments