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/03/05 18:36:33 UTC

[GitHub] [trafficcontrol] ocket8888 opened a new issue #5609: /servercheck does not filter when extra query parameters are given

ocket8888 opened a new issue #5609:
URL: https://github.com/apache/trafficcontrol/issues/5609


   ## I'm submitting a ...
   -  bug report
   
   ## Traffic Control components affected ...
   -  Traffic Ops
   
   ## Current behavior:
   GET requests to `/servercheck` can be filtered by ID and/or hostName, but if an extra query parameter is provided it breaks filtering. That is, `GET /servercheck?id=1` returns only the serverchecks for server 1, but `GET /servercheck?id=1&foo=bar` returns all serverchecks for all servers.
   
   ## Expected behavior:
   The API should perform requested filtering and ignore all unrelated query parameters.
   
   ## Minimal reproduction of the problem with instructions:
   make a GET request to `/servercheck` with an `id` query string parameter set to the ID of some cache server, plus any other query parameter (except `hostName`, `limit` or `offset`) with any value.


----------------------------------------------------------------
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.

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



[GitHub] [trafficcontrol] ocket8888 closed issue #5609: /servercheck does not filter when extra query parameters are given

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


   


----------------------------------------------------------------
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.

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



[GitHub] [trafficcontrol] rimashah25 commented on issue #5609: /servercheck does not filter when extra query parameters are given

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


   i'll 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.

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