Skip to content

Commit 853e252

Browse files
committed
debug QueryAuth and %3D
1 parent e90bde3 commit 853e252

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internals/proxy/middlewares/auth.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ func (data AuthMiddleware) Use() http.Handler {
5353

5454
authQuery := req.URL.Query().Get("@authorization")
5555

56+
log.Debug("AuthQuery: ", authQuery)
57+
5658
var authType authType = None
5759

5860
success := false
@@ -91,6 +93,8 @@ func (data AuthMiddleware) Use() http.Handler {
9193

9294
authToken, _ := url.QueryUnescape(authQuery)
9395

96+
log.Debug("AuthToken: ", authToken)
97+
9498
if isValidToken(tokens, authToken) {
9599
success = true
96100

0 commit comments

Comments
 (0)