# HG changeset patch # User Marcin Kuzminski # Date 2013-06-12 20:02:01 # Node ID c1a1f05e680f061753d7f1cc0560efd171dee842 # Parent 68abb78a3d2f674bbdf6af851847341780cc2f14 removed encodeURIComponent, on url generation. pyroutes internally do this so double escaping caused issues with branch switcher diff --git a/rhodecode/templates/changelog/changelog.html b/rhodecode/templates/changelog/changelog.html --- a/rhodecode/templates/changelog/changelog.html +++ b/rhodecode/templates/changelog/changelog.html @@ -255,7 +255,7 @@ ${self.repo_context_bar('changelog')} var selected_branch = e.currentTarget.options[e.currentTarget.selectedIndex].value; if(selected_branch != ''){ window.location = pyroutes.url('changelog_home', {'repo_name': '${c.repo_name}', - 'branch':encodeURIComponent(selected_branch)}); + 'branch':selected_branch}); }else{ window.location = pyroutes.url('changelog_home', {'repo_name': '${c.repo_name}'}); }