This repository was archived by the owner on Nov 24, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 351
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
Reserved consistentHashQueryParameters cause internal server error #6385
Copy link
Copy link
Closed
Labels
Traffic Opsrelated to Traffic Opsrelated to Traffic Opslow difficultythe estimated level of effort to resolve this issue is lowthe estimated level of effort to resolve this issue is lowlow impactaffects only a small portion of a CDN, and cannot itself break oneaffects only a small portion of a CDN, and cannot itself break oneregression buga bug in existing functionality introduced by a new versiona bug in existing functionality introduced by a new version
Description
This Bug Report affects these Traffic Control components:
- Traffic Ops
Current behavior:
Trying to update or create a Delivery Service to use a reserved query string parameter name like "trred" or "format" causes a 500 Internal Server Error response.
Expected behavior:
I'm almost certain the old behavior was more proper; the API should return a client-level error and accompanying Alert that tells the user they can't do what they're trying to do.
Steps to reproduce:
$ topost -kp deliveryservices '{
"active": false,
"cdnId": 2,
"displayName": "test",
"dnsBypassCname": "test",
"dscp": 1,
"geoLimit": 1,
"geoLimitCountries": "[US, CA]",
"geoProvider": -7,
"initialDispersion": 1,
"ipv6RoutingEnabled": true,
"logsEnabled": true,
"missLat": 0,
"missLong": 0,
"multiSiteOrigin": false,
"orgServerFqdn": "http://origin.infra.ciab.test",
"protocol": 7,
"qstringIgnore": 5,
"rangeRequestHandling": 0,
"regionalGeoBlocking": false,
"tenantId": 1,
"typeId": 1,
"xmlId": "test",
"consistentHashQueryParams": ["format", "something fine", "trred"]
}'Metadata
Metadata
Assignees
Labels
Traffic Opsrelated to Traffic Opsrelated to Traffic Opslow difficultythe estimated level of effort to resolve this issue is lowthe estimated level of effort to resolve this issue is lowlow impactaffects only a small portion of a CDN, and cannot itself break oneaffects only a small portion of a CDN, and cannot itself break oneregression buga bug in existing functionality introduced by a new versiona bug in existing functionality introduced by a new version