Commit ff2a5fa
committed
api: clarify StripPort normalizes the forwarded Host header
Address Copilot review on #9115: Envoy's strip_any_host_port not only
strips the port for route matching but also normalizes the actual
Host/:authority value forwarded upstream. Make the StripPort godoc state
this explicitly (mirroring StripTrailingHostDot's upstream-header note), so
the generated CRD/API docs reflect the real effect. Regenerated CRDs, helm
snapshots and API docs.
Signed-off-by: Salim Boulkour <salim.boulkour@algolia.com>1 parent 9c49b33 commit ff2a5fa
7 files changed
Lines changed: 31 additions & 19 deletions
File tree
- api/v1alpha1
- charts
- gateway-crds-helm/templates/generated
- gateway-helm/charts/crds/crds/generated
- site/content/en/latest/api
- test/helm/gateway-crds-helm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
491 | 491 | | |
492 | 492 | | |
493 | 493 | | |
494 | | - | |
495 | | - | |
496 | | - | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
497 | 499 | | |
498 | 500 | | |
499 | 501 | | |
| |||
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
493 | | - | |
494 | | - | |
495 | | - | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
496 | 498 | | |
497 | 499 | | |
498 | 500 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3377 | 3377 | | |
3378 | 3378 | | |
3379 | 3379 | | |
3380 | | - | |
| 3380 | + | |
3381 | 3381 | | |
3382 | 3382 | | |
3383 | 3383 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26773 | 26773 | | |
26774 | 26774 | | |
26775 | 26775 | | |
26776 | | - | |
26777 | | - | |
26778 | | - | |
| 26776 | + | |
| 26777 | + | |
| 26778 | + | |
| 26779 | + | |
| 26780 | + | |
26779 | 26781 | | |
26780 | 26782 | | |
26781 | 26783 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4746 | 4746 | | |
4747 | 4747 | | |
4748 | 4748 | | |
4749 | | - | |
4750 | | - | |
4751 | | - | |
| 4749 | + | |
| 4750 | + | |
| 4751 | + | |
| 4752 | + | |
| 4753 | + | |
4752 | 4754 | | |
4753 | 4755 | | |
4754 | 4756 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4746 | 4746 | | |
4747 | 4747 | | |
4748 | 4748 | | |
4749 | | - | |
4750 | | - | |
4751 | | - | |
| 4749 | + | |
| 4750 | + | |
| 4751 | + | |
| 4752 | + | |
| 4753 | + | |
4752 | 4754 | | |
4753 | 4755 | | |
4754 | 4756 | | |
| |||
0 commit comments