Commit 2b906219 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'fix/gitlay-raw-blame-request-encoding' into 'master'

Properly encode Gitaly RawBlame request params

See merge request !13764
parents 75d1283e 9240d355
...@@ -175,8 +175,8 @@ module Gitlab ...@@ -175,8 +175,8 @@ module Gitlab
def raw_blame(revision, path) def raw_blame(revision, path)
request = Gitaly::RawBlameRequest.new( request = Gitaly::RawBlameRequest.new(
repository: @gitaly_repo, repository: @gitaly_repo,
revision: revision, revision: GitalyClient.encode(revision),
path: path path: GitalyClient.encode(path)
) )
response = GitalyClient.call(@repository.storage, :commit_service, :raw_blame, request) response = GitalyClient.call(@repository.storage, :commit_service, :raw_blame, request)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment