e9e79fdfdf
Unescape branch names in compare commit The upgrade in GitLab v7.9 to Rails v4.1.9 caused all branch names in the compare commit mode to be escaped (e.g. `/` to `%2F`). The compare mode would not always work when comparing against branch names with a forward slash. Opted to unescape the branch name rather than use a wildcard segment to prevent escaping slashes because it seems like a more sensible URL. The slashes in this case aren't really represented by a tree structure (e.g. /compare/one/two/branch..another/branch/here). * Closes #1399 * Closes https://github.com/gitlabhq/gitlabhq/issues/9105 See merge request !582 |
||
---|---|---|
.. | ||
application_controller.rb | ||
avatars_controller.rb | ||
blame_controller.rb | ||
blob_controller.rb | ||
branches_controller.rb | ||
commit_controller.rb | ||
commits_controller.rb | ||
compare_controller.rb | ||
deploy_keys_controller.rb | ||
forks_controller.rb | ||
graphs_controller.rb | ||
hooks_controller.rb | ||
imports_controller.rb | ||
issues_controller.rb | ||
labels_controller.rb | ||
merge_requests_controller.rb | ||
milestones_controller.rb | ||
network_controller.rb | ||
notes_controller.rb | ||
project_members_controller.rb | ||
protected_branches_controller.rb | ||
raw_controller.rb | ||
refs_controller.rb | ||
repositories_controller.rb | ||
services_controller.rb | ||
snippets_controller.rb | ||
tags_controller.rb | ||
tree_controller.rb | ||
uploads_controller.rb | ||
wikis_controller.rb |