It used to not escape the branch name, so branches like
seveas/branch_selector_fix were not really reachable via the selector
function switchBranch() {
var branch = jQuery('#branch-list').val(),
action = branch != '...' ? 'current' : 'heads';
- document.location.href = uriFor(action, branch);
+ document.location.href = uriFor(action, encodeURIComponent(branch).replace('/', '%2F'));
}
function compareDiffs(){