Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-08-02 10:07:23 +0300
committerStan Hu <stanhu@gmail.com>2015-08-02 10:07:23 +0300
commitecbe119af13dfef707694fc7a271d60f3af8f779 (patch)
tree7b3883c0719fc7689a021a5b0b256dec5aa13de8 /lib/extracts_path.rb
parent208e07fe6f4f5954f01462be6d5b595ec8d2fedf (diff)
Fix "Network" and "Graphs" pages for branches with encoded slashes
Closes #1359
Diffstat (limited to 'lib/extracts_path.rb')
-rw-r--r--lib/extracts_path.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extracts_path.rb b/lib/extracts_path.rb
index 3f420553d42..322aed5e27c 100644
--- a/lib/extracts_path.rb
+++ b/lib/extracts_path.rb
@@ -94,7 +94,7 @@ module ExtractsPath
@options = params.select {|key, value| allowed_options.include?(key) && !value.blank? }
@options = HashWithIndifferentAccess.new(@options)
- @id = get_id
+ @id = Addressable::URI.unescape(get_id)
@ref, @path = extract_ref(@id)
@repo = @project.repository
if @options[:extended_sha1].blank?