Document the edge case with repeated query params #1271
Labels
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
kind/documentation
Categorizes issue or PR as related to documentation.
Milestone
What would you like to be added:
Extend the documentation of the Name field of the HTTPQueryParamMatch to describe the edge case of having repeated query params with the same name in the query string of a request. For example,
?a=1&a=2
.Why this is needed:
This is needed to
For the query string
?a=1&a=2
, currently, it is not specified whether the following matches match or not:(1)
(2)
Note that there is no standard that describes how a data plane must handle that case. Envoy, nginx use the first value of a param.
See also #1269
As discussed in the community meeting on July 18, 2022, in the documentation it makes sense to target the two sides of the Gateway API:
See also the documentation of the repeated headers case https://github.com/kubernetes-sigs/gateway-api/blob/main/apis/v1beta1/httproute_types.go#L370-L371
The text was updated successfully, but these errors were encountered: