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

feat: improve behavior of http redirects #201

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

padamstx
Copy link
Member

This commit modifies the Go core so that it will
include "safe" headers when performing a
cross-site redirect where both the original
and redirected hosts are within IBM's
"cloud.ibm.com" domain.

Copy link
Member

@pyrooka pyrooka left a comment

Choose a reason for hiding this comment

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

Looks good to me!

core/base_service.go Outdated Show resolved Hide resolved
core/base_service.go Show resolved Hide resolved
@padamstx padamstx marked this pull request as draft November 20, 2023 19:42
@padamstx
Copy link
Member Author

Converted this PR to "draft" so that we do not merge it until we have the necessary CISO approvals.

This commit modifies the Go core so that it will
include "safe" headers when performing a
cross-site redirect where both the original
and redirected hosts are within IBM's
"cloud.ibm.com" domain.

Signed-off-by: Phil Adams <[email protected]>
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.

2 participants