Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect location port from request #175

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ajtucker
Copy link
Contributor

Add test for redirect location.
Add any non-default port from request.

Fixes #174.

Add any non-default port from request.
@ajtucker ajtucker linked an issue Dec 12, 2022 that may be closed by this pull request
Copy link
Contributor

@der der left a comment

Choose a reason for hiding this comment

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

Sorry, don't think this works.

When running raw then indeed the port in the request is correct and you can redirect this way.

However, in the "normal" case when running behind a proxy server the port seen by the registry in the request and the port exposed to the user are generally different. So I think (but haven't tested) that this change would break normal deployments. Am I missing something?

@ajtucker
Copy link
Contributor Author

ajtucker commented Dec 19, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Logout redirect should use request port or relative URI
2 participants