diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-09 00:35:32 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-09 00:35:32 -0800 |
commit | 0d5c6a48be6417b1e61f9ca3f8f8dbe95f059b97 (patch) | |
tree | 6a7cae6f934fd264005ee5aab21764a1f03c6b3e /lib | |
parent | 31e3dc600a73f41c02ecc4f9ffa7007957204168 (diff) | |
parent | fd4bcd9f09305c057e91a4f791c74d00da9ac143 (diff) | |
download | gitlab-ce-0d5c6a48be6417b1e61f9ca3f8f8dbe95f059b97.tar.gz |
Merge pull request #2484 from netdata/fix_url_encode
Fixing request.fullpath URL encoding
Diffstat (limited to 'lib')
-rw-r--r-- | lib/extracts_path.rb | 2 |
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) |