caddyfile: Clarify bad query string match behavior

This commit is contained in:
Matthew Holt 2022-07-13 12:16:54 -06:00
parent 6ccb6fff21
commit e8368d6769
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5

View file

@ -538,6 +538,8 @@ By query string parameters. Should be a sequence of `key=value` pairs. Keys are
There can be multiple `query` matchers per named matcher, and pairs with the same keys will be OR'ed together. There can be multiple `query` matchers per named matcher, and pairs with the same keys will be OR'ed together.
Illegal query strings (bad syntax, unescaped semicolons, etc.) will fail to parse and thus will not match.
#### Example: #### Example:
Match requests with a `sort` query parameter with the value `asc`: Match requests with a `sort` query parameter with the value `asc`: