You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2021/08/19 17:13:34 UTC

[GitHub] [trafficcontrol] mattjackson220 opened a new issue #6125: Fix /cdns/{name}/federations?id=# to search for CDN

mattjackson220 opened a new issue #6125:
URL: https://github.com/apache/trafficcontrol/issues/6125


   <!--
   ************ STOP!! ************
   If this issue identifies a security vulnerability, DO NOT submit it! Instead, contact
   the Apache Traffic Control Security Team at security@trafficcontrol.apache.org and follow the
   guidelines at https://apache.org/security regarding vulnerability disclosure.
   
   - For *SUPPORT QUESTIONS*, use the #traffic-control channel on the ASF slack (https://s.apache.org/slack-invite)
   or the Traffic Control Users mailing list (send an email to users-subscribe@trafficcontrol.apache.org to subscribe).
   - Before submitting, please **SEARCH GITHUB** for a similar issue or PR
       * https://github.com/apache/trafficcontrol/issues
       * https://github.com/apache/trafficcontrol/pulls
   -->
   
   <!-- Do not submit security vulnerabilities or support requests here - see above -->
   ## This Bug Report affects these Traffic Control components:
   <!-- delete all those that don't apply -->
   
   - Traffic Ops
   
   ## Current behavior:
   <!-- Describe how the bug happens -->
   
   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:
   <!-- Describe what the behavior would be without the bug -->
   
   That endpoint should only return the information for federations within the CDN provided
   
   
   ## Steps to reproduce:
   <!-- If the current behavior is a bug, please provide the *STEPS TO REPRODUCE* and
   include the applicable TC version.
   -->
   
   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
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficcontrol] mattjackson220 closed issue #6125: Fix /cdns/{name}/federations?id=# to search for CDN

Posted by GitBox <gi...@apache.org>.
mattjackson220 closed issue #6125:
URL: https://github.com/apache/trafficcontrol/issues/6125


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficcontrol] srijeet0406 commented on issue #6125: Fix /cdns/{name}/federations?id=# to search for CDN

Posted by GitBox <gi...@apache.org>.
srijeet0406 commented on issue #6125:
URL: https://github.com/apache/trafficcontrol/issues/6125#issuecomment-933780562


   @mattjackson220 I can take this one.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org