Fix API requests for branch names ending in .txt
Similar to gitlab-foss!13174 for files, Grape would try to return a text result when the branch name ended in '.txt'. Fix this by forcing it to always return JSON results for branches, no matter what the name. Fixes: #217097
Showing
Please register or sign in to comment