GET /servers?dsId={{nonexistent DS ID}} returns 403 forbidden #5548
Labels
low impact
affects only a small portion of a CDN, and cannot itself break one
regression bug
a bug in existing functionality introduced by a new version
Traffic Ops
related to Traffic Ops
I'm submitting a ...
Traffic Control components affected ...
Current behavior:
GET /servers?dsId={{dsId}}
returns 403 forbidden when the dsId does not correspond to a Delivery Service that exists. Examples: 0, 99999999, etc.Expected behavior:
GET /servers?dsId=0
returns 200 OK with an empty array of serversMinimal reproduction of the problem with instructions:
GET /api/4.0/servers?dsId=0
returns 200 OK with an empty array of serversThe text was updated successfully, but these errors were encountered: