vmware-archive / gangway

An application that can be used to easily enable authentication flows via OIDC for a kubernetes cluster.
Apache License 2.0
410 stars 112 forks source link

Check we're at the HTTP handler root path #143

Closed jenting closed 1 year ago

jenting commented 4 years ago

The "/" pattern matches everything, so we need to check that we're at the HTTP handler root path.

If the path does not match the existing registered path, return HTTP status code 301 moved permanently.

Signed-off-by: JenTing Hsiao jenting.hsiao@suse.com

jenting commented 4 years ago

Merge master branch.

jenting commented 3 years ago

@stevesloka PTAL if you have time.