summaryrefslogtreecommitdiff
path: root/lib/extracts_path.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-09 00:35:32 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-09 00:35:32 -0800
commit0d5c6a48be6417b1e61f9ca3f8f8dbe95f059b97 (patch)
tree6a7cae6f934fd264005ee5aab21764a1f03c6b3e /lib/extracts_path.rb
parent31e3dc600a73f41c02ecc4f9ffa7007957204168 (diff)
parentfd4bcd9f09305c057e91a4f791c74d00da9ac143 (diff)
downloadgitlab-ce-0d5c6a48be6417b1e61f9ca3f8f8dbe95f059b97.tar.gz
Merge pull request #2484 from netdata/fix_url_encode
Fixing request.fullpath URL encoding
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 14201ae63ce..270a0aaa87a 100644
--- a/lib/extracts_path.rb
+++ b/lib/extracts_path.rb
@@ -108,7 +108,7 @@ module ExtractsPath
request.format = :atom
end
- path = request.fullpath.dup
+ path = CGI::unescape(request.fullpath.dup)
@ref, @path = extract_ref(path)