Commit 0d5c6a48be6417b1e61f9ca3f8f8dbe95f059b97
Exists in
master
and in
4 other branches
Merge pull request #2484 from netdata/fix_url_encode
Fixing request.fullpath URL encoding
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/extracts_path.rb
| @@ -108,7 +108,7 @@ module ExtractsPath | @@ -108,7 +108,7 @@ module ExtractsPath | ||
| 108 | request.format = :atom | 108 | request.format = :atom |
| 109 | end | 109 | end |
| 110 | 110 | ||
| 111 | - path = request.fullpath.dup | 111 | + path = CGI::unescape(request.fullpath.dup) |
| 112 | 112 | ||
| 113 | @ref, @path = extract_ref(path) | 113 | @ref, @path = extract_ref(path) |
| 114 | 114 |