Fix /cdns/{name}/federations?id=# to search for CDN #6125
Labels
bug
something isn't working as intended
low impact
affects only a small portion of a CDN, and cannot itself break one
Traffic Ops
related to Traffic Ops
Milestone
This Bug Report affects these Traffic Control components:
Current behavior:
The API endpoint
/cdns/{name}/federations?id=#
will return the federations information as long as the id is valid, even if the CDN is not valid or does not exist or the federation is not part of that CDN.Expected behavior:
That endpoint should only return the information for federations within the CDN provided
Steps to reproduce:
Go to the API at
/cdns/nonsense/federations?id=#
with a valid federation id and see that it returns the information even thoughnonsense
is not a valid CDNThe text was updated successfully, but these errors were encountered: