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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-09 12:35:32 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-09 12:35:32 +0400
commit0d5c6a48be6417b1e61f9ca3f8f8dbe95f059b97 (patch)
tree6a7cae6f934fd264005ee5aab21764a1f03c6b3e /lib/extracts_path.rb
parent31e3dc600a73f41c02ecc4f9ffa7007957204168 (diff)
parentfd4bcd9f09305c057e91a4f791c74d00da9ac143 (diff)
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)