Skip to content

Sanitize rewritten target on ingress-nginx provider#13506

Merged
traefiker merged 2 commits into
traefik:v3.7from
gndz07:fix/rewrite-target-path
Jul 13, 2026
Merged

Sanitize rewritten target on ingress-nginx provider#13506
traefiker merged 2 commits into
traefik:v3.7from
gndz07:fix/rewrite-target-path

Conversation

@gndz07

@gndz07 gndz07 commented Jul 10, 2026

Copy link
Copy Markdown
Member

What does this PR do?

Sanitize the rewritten path applied for ingress-nginx provider (either via rewrite-target annotation or configuration snippets) to avoid split view.

Motivation

To fix the behavior.

More

  • Added/updated tests
  • Added/updated documentation

@LBF38 LBF38 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@traefiker
traefiker merged commit 759515b into traefik:v3.7 Jul 13, 2026
41 checks passed
doonga pushed a commit to greyrock-labs/home-ops that referenced this pull request Jul 16, 2026
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [traefik](https://github.com/containous/traefik) | patch | `v3.7.7` → `v3.7.8` |

---

### Release Notes

<details>
<summary>containous/traefik (traefik)</summary>

### [`v3.7.8`](https://github.com/containous/traefik/blob/HEAD/CHANGELOG.md#v378-2026-07-15)

[Compare Source](traefik/traefik@v3.7.8...v3.7.8)

[All Commits](traefik/traefik@v3.7.7...v3.7.8)

**Bug fixes:**

- **\[middleware, k8s/crd]** Add missing ErrorRequestHeaders field to CRDs ([#&#8203;13498](traefik/traefik#13498) [@&#8203;kevinpollet](https://github.com/kevinpollet))
- **\[k8s/ingress-nginx]** Sanitize rewritten target on ingress-nginx provider ([#&#8203;13506](traefik/traefik#13506) [@&#8203;gndz07](https://github.com/gndz07))
- **\[logs]** Remove unrelated error from nonexistent cert resolver log ([#&#8203;13469](traefik/traefik#13469) [@&#8203;ArthurHlt](https://github.com/ArthurHlt))
- **\[middleware]** Fix panic in retry middleware with Websockets ([#&#8203;13520](traefik/traefik#13520) [@&#8203;juliens](https://github.com/juliens))

**Documentation:**

- **\[k8s]** Align certificateRef and indicate ports ([#&#8203;13473](traefik/traefik#13473) [@&#8203;veenoise](https://github.com/veenoise))
- **\[rules]** Fix syntax notes in routing rule documentation ([#&#8203;13501](traefik/traefik#13501) [@&#8203;stevenlele](https://github.com/stevenlele))
- **\[k8s/crd]** Fix duplicated options table in ServersTransport CRD reference ([#&#8203;13518](traefik/traefik#13518) [@&#8203;rachana5](https://github.com/rachana5))

### [`v3.7.8`](https://github.com/containous/traefik/blob/HEAD/CHANGELOG.md#v378-2026-07-15)

[Compare Source](traefik/traefik@v3.7.7...v3.7.8)

[All Commits](traefik/traefik@v3.7.7...v3.7.8)

**Bug fixes:**

- **\[middleware, k8s/crd]** Add missing ErrorRequestHeaders field to CRDs ([#&#8203;13498](traefik/traefik#13498) [@&#8203;kevinpollet](https://github.com/kevinpollet))
- **\[k8s/ingress-nginx]** Sanitize rewritten target on ingress-nginx provider ([#&#8203;13506](traefik/traefik#13506) [@&#8203;gndz07](https://github.com/gndz07))
- **\[logs]** Remove unrelated error from nonexistent cert resolver log ([#&#8203;13469](traefik/traefik#13469) [@&#8203;ArthurHlt](https://github.com/ArthurHlt))
- **\[middleware]** Fix panic in retry middleware with Websockets ([#&#8203;13520](traefik/traefik#13520) [@&#8203;juliens](https://github.com/juliens))

**Documentation:**

- **\[k8s]** Align certificateRef and indicate ports ([#&#8203;13473](traefik/traefik#13473) [@&#8203;veenoise](https://github.com/veenoise))
- **\[rules]** Fix syntax notes in routing rule documentation ([#&#8203;13501](traefik/traefik#13501) [@&#8203;stevenlele](https://github.com/stevenlele))
- **\[k8s/crd]** Fix duplicated options table in ServersTransport CRD reference ([#&#8203;13518](traefik/traefik#13518) [@&#8203;rachana5](https://github.com/rachana5))

</details>

---

### Configuration

📅 **Schedule**: (in timezone America/New_York)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNjAuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI2MC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL3BhdGNoIl19-->

Reviewed-on: https://git.greyrock.io/greyrock-labs/home-ops/pulls/79
JuliusFreudenberger pushed a commit to JuliusFreudenberger/nix-config that referenced this pull request Jul 16, 2026
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [traefik](https://github.com/containous/traefik) | patch | `v3.7.7` → `v3.7.8` |

---

> ⚠️ **Warning**
>
> Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/12) for more information.

---

### Release Notes

<details>
<summary>containous/traefik (traefik)</summary>

### [`v3.7.8`](https://github.com/traefik/traefik/releases/tag/v3.7.8)

[Compare Source](traefik/traefik@v3.7.8...v3.7.8)

**Bug fixes:**

- **\[middleware, k8s/crd]** Add missing ErrorRequestHeaders field to CRDs ([#&#8203;13498](traefik/traefik#13498) [@&#8203;kevinpollet](https://github.com/kevinpollet))
- **\[k8s/ingress-nginx]** Sanitize rewritten target on ingress-nginx provider ([#&#8203;13506](traefik/traefik#13506) [@&#8203;gndz07](https://github.com/gndz07))
- **\[logs]** Remove unrelated error from nonexistent cert resolver log ([#&#8203;13469](traefik/traefik#13469) [@&#8203;ArthurHlt](https://github.com/ArthurHlt))
- **\[middleware]** Fix panic in retry middleware with Websockets ([#&#8203;13520](traefik/traefik#13520) [@&#8203;juliens](https://github.com/juliens))

**Documentation:**

- **\[k8s]** Align certificateRef and indicate ports ([#&#8203;13473](traefik/traefik#13473) [@&#8203;veenoise](https://github.com/veenoise))
- **\[rules]** Fix syntax notes in routing rule documentation ([#&#8203;13501](traefik/traefik#13501) [@&#8203;stevenlele](https://github.com/stevenlele))
- **\[k8s/crd]** Fix duplicated options table in ServersTransport CRD reference ([#&#8203;13518](traefik/traefik#13518) [@&#8203;rachana5](https://github.com/rachana5))

### [`v3.7.8`](https://github.com/traefik/traefik/releases/tag/v3.7.8)

[Compare Source](traefik/traefik@v3.7.7...v3.7.8)

**Bug fixes:**

- **\[middleware, k8s/crd]** Add missing ErrorRequestHeaders field to CRDs ([#&#8203;13498](traefik/traefik#13498) [@&#8203;kevinpollet](https://github.com/kevinpollet))
- **\[k8s/ingress-nginx]** Sanitize rewritten target on ingress-nginx provider ([#&#8203;13506](traefik/traefik#13506) [@&#8203;gndz07](https://github.com/gndz07))
- **\[logs]** Remove unrelated error from nonexistent cert resolver log ([#&#8203;13469](traefik/traefik#13469) [@&#8203;ArthurHlt](https://github.com/ArthurHlt))
- **\[middleware]** Fix panic in retry middleware with Websockets ([#&#8203;13520](traefik/traefik#13520) [@&#8203;juliens](https://github.com/juliens))

**Documentation:**

- **\[k8s]** Align certificateRef and indicate ports ([#&#8203;13473](traefik/traefik#13473) [@&#8203;veenoise](https://github.com/veenoise))
- **\[rules]** Fix syntax notes in routing rule documentation ([#&#8203;13501](traefik/traefik#13501) [@&#8203;stevenlele](https://github.com/stevenlele))
- **\[k8s/crd]** Fix duplicated options table in ServersTransport CRD reference ([#&#8203;13518](traefik/traefik#13518) [@&#8203;rachana5](https://github.com/rachana5))

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNTAuMSIsInVwZGF0ZWRJblZlciI6IjQzLjE1MC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: https://git.jfreudenberger.de/JuliusFreudenberger/nix-config/pulls/23
Co-authored-by: Renovate Bot <[email protected]>
Co-committed-by: Renovate Bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants