Unable to retrieve branch with a dot in it's name via API
Summary
GET /projects/:id/repository/branches/:branch can`t find branch anymore if branch name contains dot. It returns 404 error code
Steps to reproduce
- Create branch with dot 2016.2 for example
- Try to obtain it via api
Expected behavior
Branch should be obtained via api
Actual behavior
Branch cannot be obtained
Relevant logs and/or screenshots
GET /projects/:id/repository/branches/:branch http://www.screencast.com/t/SEvUZeidX4CQ
GET /projects/:id/repository/branches returns this branch http://www.screencast.com/t/E5KlRBL79Mc