Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

Fix path join issue for the callback url #45

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

canthefason
Copy link

Callback URL includes an additional slash when the the path is '/' for an OIDC policy. This ends up with producing an invalid redirect url. One such example is this following url: https://example.com//oidc/callback

This PR strips that additional slash by using path.Join instead of a straight concatenation.

Copy link
Contributor

@devstein devstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not maintainer but LGTM

devstein
devstein previously approved these changes Mar 4, 2020
Copy link
Contributor

@devstein devstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hopefully someone merges this soon...

@ishangulhane
Copy link
Contributor

@canthefason Please create a PR on the development branch

@canthefason canthefason dismissed devstein’s stale review March 16, 2020 03:32

The base branch was changed.

@canthefason canthefason changed the base branch from master to development March 16, 2020 03:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants