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 2019/02/05 15:50:09 UTC

[GitHub] dangogh opened a new issue #3302: TO Go: api route regex too broad

dangogh opened a new issue #3302: TO Go: api route regex too broad
URL: https://github.com/apache/trafficcontrol/issues/3302
 
 
   Current routing in `traffic_ops_golang` matches any `xxx/api/1.x/xxx` to the corresponding endpoint that starts with `api/1.x`...
   
   e.g. `https://cdn.example.test/blahblah/api/1.3/cdns` matches `api/1.3/cdns`.
   
   This is overly broad and needs to be restricted so the endpoint must start with `api/1.x`.
   
   Note this affects only master and not any release including the 3.0.x release candidate.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services