gitlab-org--gitlab-foss/app/controllers/projects
Douwe Maan e9e79fdfdf Merge branch 'fix-escaped-branches-in-compare' into 'master'
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
2015-05-04 06:58:56 +00:00
..
application_controller.rb Add a page title to every page. 2015-04-30 19:12:15 +02:00
avatars_controller.rb Add a page title to every page. 2015-04-30 19:12:15 +02:00
blame_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
blob_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
branches_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
commit_controller.rb No longer needed to pass project argument to commit methods. 2015-04-24 12:29:36 +02:00
commits_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
compare_controller.rb Unescape branch names in compare commit 2015-04-30 12:44:46 -07:00
deploy_keys_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
forks_controller.rb Add a page title to every page. 2015-04-30 19:12:15 +02:00
graphs_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
hooks_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
imports_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
issues_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
labels_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
merge_requests_controller.rb Don't allow a merge request to be merged when its title starts with "WIP". 2015-04-30 15:46:36 +02:00
milestones_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
network_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
notes_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
project_members_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
protected_branches_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
raw_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
refs_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
repositories_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
services_controller.rb Add api version property on hipchat service 2015-04-27 21:14:04 +09:00
snippets_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
tags_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
tree_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
uploads_controller.rb Add a page title to every page. 2015-04-30 19:12:15 +02:00
wikis_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00