Skip to content

Commit 0d5c6a4

Browse files
committed
Merge pull request gitlabhq#2484 from netdata/fix_url_encode
Fixing request.fullpath URL encoding
2 parents 31e3dc6 + fd4bcd9 commit 0d5c6a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/extracts_path.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def assign_ref_vars
108108
request.format = :atom
109109
end
110110

111-
path = request.fullpath.dup
111+
path = CGI::unescape(request.fullpath.dup)
112112

113113
@ref, @path = extract_ref(path)
114114

0 commit comments

Comments
 (0)