Skip to content

Commit

Permalink
docs: comment on uri vs req_uri
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Mar 15, 2024
1 parent 8a2b68f commit 430050e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proxy_auth_v2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ local uri = ngx.var.uri -- post-rewrite URI
-- TODO: replace this with properly authorization-compatible services

if req_method == "GET" and (
uri == "/service-info" or
uri == "/service-info" or -- any service-info endpoint; rewritten from original /api/.../service-info
req_uri_no_qp == "/api/metadata/api/projects" or
req_uri_no_qp == "/api/metadata/api/public" or
req_uri_no_qp == "/api/metadata/api/public_overview" or
Expand Down

0 comments on commit 430050e

Please sign in to comment.