Skip to content

Commit

Permalink
docs: comment query param removal
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Mar 15, 2024
1 parent 23d3c10 commit 8a2b68f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/proxy_auth_v2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ local req = ngx.req
local req_method = req.get_method()

local req_uri_no_qp = ngx.var.request_uri -- pre-rewrite URI
-- remove query parameters if we have any:
local qp = req_uri_no_qp:find("?")
if qp ~= nil then
req_uri_no_qp = req_uri_no_qp:sub(1, qp - 1)
Expand Down

0 comments on commit 8a2b68f

Please sign in to comment.