Commit fcbca7d9 authored by Robert Speicher's avatar Robert Speicher Committed by Simon Knox

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

Properly encode Gitaly RawBlame request params

See merge request !13764
parent ccdc2604
......@@ -159,8 +159,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)
......
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