X-Original-URI header incomplete in custom error backend #10167
Labels
lifecycle/frozen
Indicates that an issue or PR should not be auto-closed due to staleness.
needs-kind
Indicates a PR lacks a `kind/foo` label and requires one.
needs-priority
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
What happened:
When the custom error handler receives a request from
https://ex.ample.com/not-found-page
,X-Original-URI
only contains/not-found-page
, missing the host.What you expected to happen:
I expected the
X-Original-URI
-Header to contain the host and path.NGINX Ingress controller version :
NGINX Ingress controller
Release: v1.7.0
Build: 72ff21e
Repository: https://github.com/kubernetes/ingress-nginx
nginx version: nginx/1.21.6
Kubernetes version (use
kubectl version
):Client Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.3", GitCommit:"9e644106593f3f4aa98f8a84b23db5fa378900bd", GitTreeState:"clean", BuildDate:"2023-03-15T13:33:11Z", GoVersion:"go1.19.7", Compiler:"gc", Platform:"darwin/arm64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"24+", GitVersion:"v1.24.14-eks-c12679a", GitCommit:"05d192f0de17608d98e17761ad3cffa9a6407f2f", GitTreeState:"clean", BuildDate:"2023-05-22T23:41:27Z", GoVersion:"go1.19.9", Compiler:"gc", Platform:"linux/amd64"}
Environment:
Cloud provider or hardware configuration: AWS EKS
How was the ingress-nginx-controller installed:
How to reproduce this issue:
Have any error handled by a custom error backend and look at the headers that are sent.
The text was updated successfully, but these errors were encountered: