1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-06-17 00:17:40 +02:00

Merge pull request from GHSA-4mf2-f3wh-gvf2

This commit is contained in:
Nick Meves
2021-02-01 10:04:33 -08:00
committed by GitHub
parent 48b1658e5d
commit 780ae4f3c9
2 changed files with 14 additions and 7 deletions

View File

@ -298,6 +298,11 @@ func TestIsValidRedirect(t *testing.T) {
Redirect: "/\t/\t\\evil.com",
ExpectedResult: false,
},
{
Desc: "openRedirectPartialSubdomain",
Redirect: "http://evilbar.foo",
ExpectedResult: false,
},
}
for _, tc := range testCases {