Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Fix /cdns/{name}/federations?id=# to search for CDN #6125

@mattjackson220

Description

@mattjackson220

This Bug Report affects these Traffic Control components:

  • Traffic Ops

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 though nonsense is not a valid CDN

Metadata

Metadata

Assignees

Labels

Traffic Opsrelated to Traffic Opsbugsomething isn't working as intendedlow impactaffects only a small portion of a CDN, and cannot itself break one

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions