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
[release-4.8] Bug 1972687: openshift authorization proxy: escape header key values #219
[release-4.8] Bug 1972687: openshift authorization proxy: escape header key values #219
Conversation
The authorization.openshift.io RBAC proxy is taking values from the Extra field of a UserInfo of a user that made a request against this API. The fields of the map may generally contain values that cannot appear in an HTTP header, like '/' that's commonly separating an API annotation from the API version or resource. Copy the k8s.io header escaping function and use it in the proxy that's handling the OpenShift authorization API.
|
@openshift-cherrypick-robot: Detected clone of Bugzilla bug 1972383 with correct target release. Retitling PR to link to clone: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
@openshift-cherrypick-robot: This pull request references Bugzilla bug 1972687, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 6 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Bugzilla (liyao@redhat.com), skipping review request. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/lgtm |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: openshift-cherrypick-robot, stlaz, sttts The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Approved as 4.8 GA blocker. |
|
/retest |
|
/test e2e-cmd |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
3 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/test e2e-aws |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
looking at the e2e failures there seems to be aws related issues. |
|
Yes, there is some thread on announce-testplatform on slack |
|
@openshift-cherrypick-robot: All pull requests linked via external trackers have merged: Bugzilla bug 1972687 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
Is there any info on when this fix will show up in a new 4.8 RC? I assume 4.8.0-rc.1 |
This is an automated cherry-pick of #217
/assign s-urbaniak