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
projects Unescape branch names in compare commit 2015-04-30 12:44:46 -07:00
application_controller_spec.rb
autocomplete_controller_spec.rb
blob_controller_spec.rb
branches_controller_spec.rb
commit_controller_spec.rb
commits_controller_spec.rb
help_controller_spec.rb
merge_requests_controller_spec.rb
namespaces_controller_spec.rb
profile_keys_controller_spec.rb
projects_controller_spec.rb
tree_controller_spec.rb
uploads_controller_spec.rb
users_controller_spec.rb