Skip to content

Commit

Permalink
Fix regex with ending match
Browse files Browse the repository at this point in the history
  • Loading branch information
Tit Petric committed Aug 2, 2024
1 parent b7068a8 commit 124f95d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/mw_granular_access_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func TestGranularAccessMiddleware_ProcessRequest(t *testing.T) {
APIName: api.Name,
AllowedURLs: []user.AccessSpec{
{
URL: "^/*.",
URL: "^/*.$",
Methods: []string{"GET"},
},
{
Expand Down

0 comments on commit 124f95d

Please sign in to comment.