OCPBUGS-115304:[release-5.0] bugfix: rewrite open redirect strings to '/' #376
Pipeline controller notification
This repo is configured to use the pipeline controller. Second-stage tests will be triggered either automatically or after lgtm label is added, depending on the repository configuration. The pipeline controller will automatically detect which contexts are required and will utilize /test Prow commands to trigger the second stage.
For optional jobs, comment /test ? to see a list of all defined jobs. To trigger manually all jobs from second stage use /pipeline required command.
This repository is configured in: LGTM mode
@everettraven: This pull request references Jira Issue OCPBUGS-115304, which is invalid:
- expected Jira Issue OCPBUGS-115304 to depend on a bug targeting a version in 5.1.0 and in one of the following states: MODIFIED, ON_QA, VERIFIED, but no dependents were found
Comment <code>/jira refresh</code> to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.
The bug has been updated to refer to the pull request using the external bug tracker.
<details>
In response to this:
>so that malformed redirect strings cannot result in an end-user being redirected to an unintended upstream application. This prevents leaking of authentication state information for the upstream application that oauth-proxy is being used as a reverse proxy for to an unintended audience.
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 openshift-eng/jira-lifecycle-plugin repository.
</details>
<!-- This is an auto-generated comment: summarize by coderabbit.ai -->
<!-- This is an auto-generated comment: skip review by coderabbit.ai -->
[!IMPORTANT]
## Review skipped
> Auto reviews are disabled on base/target branches other than the default branch.
>
> Please check the settings in the CodeRabbit UI or the.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.
> <details>
<summary>⚙️ Run configuration</summary>
> Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml
> Review profile: CHILL
> Plan: Enterprise
> Run ID: 9f80936a-52b4-45a0-9d8c-5cd7e0d22ae3> </details>
> You can disable this status message by setting thereviews.review_statustofalsein the CodeRabbit configuration file.
> Use the checkbox below for a quick retry:
- [ ] <!-- {"checkboxId":"e9bb8d72-00e8-4f67-9cb2-caf3b22574fe"} --> 🔍 Trigger review
<!-- end of auto-generated comment: skip review by coderabbit.ai -->
<!-- tips_start -->
---
<sub>Comment @coderabbitai help to get the list of available commands.</sub>
<!-- tips_end -->
/jira-refresh
/lgtm
Scheduling required tests:
/test e2e-aws
/test e2e-component
/approve
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: <a href="https://github.com/openshift/oauth-proxy/pull/376#" title="Author self-approved">everettraven</a>, <a href="https://github.com/openshift/oauth-proxy/pull/376#pullrequestreview-5099806453" title="Approved">ibihim</a>, <a href="https://github.com/openshift/oauth-proxy/pull/376#issuecomment-5522094989" title="LGTM">liouk</a>
The full list of commands accepted by this bot can be found here.
The pull request process is described here
<details >
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
</details>
<!-- META={"approvers":[]} -->
@everettraven: all tests passed!
Full PR test history. Your PR dashboard.
<details>
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-sigs/prow repository. I understand the commands that are listed here.
</details>
<!-- test report -->
/label backport-risk-assessed
/jira-refresh
/verified by @everettraven
@everettraven: This PR has been marked as verified by @everettraven.
<details>
In response to this:
>/label backport-risk-assessed
>/jira-refresh
>/verified by @everettraven
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 openshift-eng/jira-lifecycle-plugin repository.
</details>
/jira refresh
@liouk: This pull request references Jira Issue OCPBUGS-115304, which is valid. The bug has been moved to the POST state.
<details><summary>7 validation(s) were run on this bug</summary>
bug is open, matching expected state (open)
bug target version (5.0.0) matches configured target version for branch (5.0.0)
bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
release note type set to "Release Note Not Required"
dependent bug Jira Issue OCPBUGS-115305 is in the state Verified, which is one of the valid states (MODIFIED, ON_QA, VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA))
dependent Jira Issue OCPBUGS-115305 targets the "5.1.0" version, which is one of the valid target versions: 5.1.0
No GitHub users were found matching the public email listed for the QA contact in Jira (ocp-sustaining-admins@redhat.com), skipping review request.
<details>
In response to this:
>/jira refresh
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 openshift-eng/jira-lifecycle-plugin repository.
</details>
@everettraven: Jira Issue Verification Checks: Jira Issue OCPBUGS-115304
:heavy_check_mark: This pull request was pre-merge verified.
:heavy_check_mark: All associated pull requests have merged.
:heavy_check_mark: All associated, merged pull requests were pre-merge verified.
Jira Issue OCPBUGS-115304 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. :clock4:
<details>
In response to this:
>so that malformed redirect strings cannot result in an end-user being redirected to an unintended upstream application. This prevents leaking of authentication state information for the upstream application that oauth-proxy is being used as a reverse proxy for to an unintended audience.
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 openshift-eng/jira-lifecycle-plugin repository.
</details>
Fix included in release 5.0.0-0.nightly-2026-09-08-020857
ibihim
everettraven
so that malformed redirect strings cannot result in an end-user being redirected to an unintended upstream application. This prevents leaking of authentication state information for the upstream application that oauth-proxy is being used as a reverse proxy for to an unintended audience.