Skip to content

Commit

Permalink
Modify OriginalURL
Browse files Browse the repository at this point in the history
  • Loading branch information
SrinivasAtmakuri committed Aug 14, 2024
1 parent 8af74d9 commit e3c0221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/miseadapter/authorizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (m *miseAdapter) IsAuthorized(ctx context.Context, r *http.Request) (bool,
remoteAddr, _, _ := strings.Cut(r.RemoteAddr, ":")

i := Input{
OriginalUri: r.RequestURI,
OriginalUri: r.URL.Host,
OriginalMethod: r.Method,
OriginalIPAddress: remoteAddr,
AuthorizationHeader: r.Header.Get("Authorization"),
Expand Down

0 comments on commit e3c0221

Please sign in to comment.