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

Properly encode Gitaly RawBlame request params

See merge request !13764
This commit is contained in:
Robert Speicher 2017-08-23 15:51:22 +00:00
commit 2b906219a0

View file

@ -175,8 +175,8 @@ module Gitlab
def raw_blame(revision, path)
request = Gitaly::RawBlameRequest.new(
repository: @gitaly_repo,
revision: revision,
path: path
revision: GitalyClient.encode(revision),
path: GitalyClient.encode(path)
)
response = GitalyClient.call(@repository.storage, :commit_service, :raw_blame, request)