-
Notifications
You must be signed in to change notification settings - Fork 698
Open
Labels
area/httpproxyIssues or PRs related to the HTTPProxy API.Issues or PRs related to the HTTPProxy API.good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
Description
We should validate that when using
contour/apis/projectcontour/v1/httpproxy.go
Lines 1270 to 1274 in bbccbff
// HeadersPolicy defines how headers are managed during forwarding. | |
// The `Host` header is treated specially and if set in a HTTP response | |
// will be used as the SNI server name when forwarding over TLS. It is an | |
// error to attempt to set the `Host` header in a HTTP response. | |
type HeadersPolicy struct { |
hm, might be good to do in a follow up but we should maybe be validating this doesn't get through to Envoy since this is a completely invalid hostname
Originally posted by @sunjayBhatia in #5678 (comment)
skriss
Metadata
Metadata
Assignees
Labels
area/httpproxyIssues or PRs related to the HTTPProxy API.Issues or PRs related to the HTTPProxy API.good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.