Replies: 3 comments 4 replies
-
This reminds me a lot of #1225 which was recently updated. The intention there was to document that only the first should match. Is this helpful? |
Beta Was this translation helpful? Give feedback.
-
your actual proxy's handling of the query string may differ since it isn't really defined in an HTTP RFC, in Contour's case since Envoy is the actual proxy, the first occurrence of the query parameter will be considered to match against so for the given example only 1 would match that request, if the request had |
Beta Was this translation helpful? Give feedback.
-
Thanks @pleshakov for opening #1271, which will cover the work to resolve this issue. I'll lock this conversation until we figure out a better way to handle resolved conversations. |
Beta Was this translation helpful? Give feedback.
-
Hello folks! For a query string
?a=1&a=2
and the following matches in an HTTPRoute:(1)
(2)
Should (1) match?
Should (2) match?
I wonder what the expected behavior is.
Notes:
gateway-api/conformance/tests/httproute-query-param-matching.go
Lines 47 to 80 in 5af4606
gateway-api/apis/v1beta1/httproute_types.go
Line 408 in 5af4606
Cheers
Beta Was this translation helpful? Give feedback.
All reactions