gitlab-org--gitlab-foss/spec/controllers
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
..
import Show incompatible projects in Google Code import status 2015-04-30 06:56:49 -07:00
projects Unescape branch names in compare commit 2015-04-30 12:44:46 -07:00
application_controller_spec.rb Updated rspec to rspec 3.x syntax 2015-02-12 19:17:35 +01:00
autocomplete_controller_spec.rb Add autocomplete controller 2015-03-26 19:06:19 -07:00
blob_controller_spec.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
branches_controller_spec.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
commit_controller_spec.rb Use project.commit convenience method. 2015-04-24 12:29:36 +02:00
commits_controller_spec.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
help_controller_spec.rb Re-fix image rendering for help pages 2015-04-15 12:45:31 -04:00
merge_requests_controller_spec.rb Fix "Revspec not found" errors when viewing diffs in a forked project with submodules 2015-04-27 20:42:38 -07:00
namespaces_controller_spec.rb Add tests. 2015-03-27 10:27:13 +01:00
profile_keys_controller_spec.rb Fix `/:username.keys` response content type 2014-03-20 19:09:14 +04:00
projects_controller_spec.rb Render go-import meta tag for private repos. 2015-03-03 11:22:30 +01:00
tree_controller_spec.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
uploads_controller_spec.rb Reject access to group/project avatar if the user doesn't have access. 2015-03-10 17:13:02 +01:00
users_controller_spec.rb Fix user controller specs 2015-03-22 11:14:42 -07:00