diff --git a/go.mod b/go.mod index f11422498e0..89fc049c640 100644 --- a/go.mod +++ b/go.mod @@ -50,7 +50,7 @@ require ( knative.dev/hack v0.0.0-20240123162936-f3f03ac0ab1a knative.dev/hack/schema v0.0.0-20240123162936-f3f03ac0ab1a knative.dev/pkg v0.0.0-20240116073220-b488e7be5902 - knative.dev/reconciler-test v0.0.0-20240228213824-a2d9404ca4e7 + knative.dev/reconciler-test v0.0.0-20240319084821-8c063dd50b3c sigs.k8s.io/yaml v1.4.0 ) diff --git a/go.sum b/go.sum index 241ffbb19ce..aab7d595e54 100644 --- a/go.sum +++ b/go.sum @@ -894,8 +894,8 @@ knative.dev/hack/schema v0.0.0-20240123162936-f3f03ac0ab1a h1:9FY/uq1m9K+Ig9tt4y knative.dev/hack/schema v0.0.0-20240123162936-f3f03ac0ab1a/go.mod h1:3pWwBLnTZSM9psSgCAvhKOHIPTzqfEMlWRpDu6IYhK0= knative.dev/pkg v0.0.0-20240116073220-b488e7be5902 h1:H6+JJN23fhwYWCHY1339sY6uhIyoUwDy1a8dN233fdk= knative.dev/pkg v0.0.0-20240116073220-b488e7be5902/go.mod h1:NYk8mMYoLkO7CQWnNkti4YGGnvLxN6MIDbUvtgeo0C0= -knative.dev/reconciler-test v0.0.0-20240228213824-a2d9404ca4e7 h1:nw0ZbYpCwmYIm9zT5VoQ/JFAAUOcQ04wGv/ODh6tyc0= -knative.dev/reconciler-test v0.0.0-20240228213824-a2d9404ca4e7/go.mod h1:PdI3uCI/8URA+hyBvWqZ2pwCIvX/4/nqCNsdW1cQauM= +knative.dev/reconciler-test v0.0.0-20240319084821-8c063dd50b3c h1:WVonoeQO5d/OKTkUfbFOW/eStpuyzaTN+fgx0twCUAA= +knative.dev/reconciler-test v0.0.0-20240319084821-8c063dd50b3c/go.mod h1:PdI3uCI/8URA+hyBvWqZ2pwCIvX/4/nqCNsdW1cQauM= pgregory.net/rapid v1.1.0 h1:CMa0sjHSru3puNx+J0MIAuiiEV4N0qj8/cMWGBBCsjw= pgregory.net/rapid v1.1.0/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= diff --git a/vendor/knative.dev/reconciler-test/pkg/eventshub/forwarder/forwarder.go b/vendor/knative.dev/reconciler-test/pkg/eventshub/forwarder/forwarder.go index 8d755187e83..e0d2e8338b7 100644 --- a/vendor/knative.dev/reconciler-test/pkg/eventshub/forwarder/forwarder.go +++ b/vendor/knative.dev/reconciler-test/pkg/eventshub/forwarder/forwarder.go @@ -165,6 +165,8 @@ func (o *Forwarder) ServeHTTP(writer http.ResponseWriter, request *http.Request) req := request.Clone(requestCtx) // It is an error to set this field in an HTTP client request. req.RequestURI = "" + // We don't want to use the original request Host header, so drop it from the clone + req.Host = "" u, err := url.Parse(o.Sink) if err != nil { diff --git a/vendor/modules.txt b/vendor/modules.txt index fdffa375ad2..e15569ffe6c 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1385,7 +1385,7 @@ knative.dev/pkg/webhook/resourcesemantics knative.dev/pkg/webhook/resourcesemantics/conversion knative.dev/pkg/webhook/resourcesemantics/defaulting knative.dev/pkg/webhook/resourcesemantics/validation -# knative.dev/reconciler-test v0.0.0-20240228213824-a2d9404ca4e7 +# knative.dev/reconciler-test v0.0.0-20240319084821-8c063dd50b3c ## explicit; go 1.20 knative.dev/reconciler-test/cmd/eventshub knative.dev/reconciler-test/pkg/environment