Commit 33fc50e1 authored by Stan Hu's avatar Stan Hu

Merge branch...

Merge branch '9605-broken-master-api-jobs-get-projects-id-jobs-job_id-artifacts-authorized-by-job_token-user-is-developer-behaves-like-downloads-artifact-returns-specific-job-artifacts' into 'master'

Fix jobs API spec for attachments with UTF-8 filenames

Closes #9605

See merge request gitlab-org/gitlab-ee!9440
parents fccae66b 5d5fadb6
......@@ -27,7 +27,7 @@ describe API::Jobs do
shared_examples 'downloads artifact' do
let(:download_headers) do
{ 'Content-Transfer-Encoding' => 'binary',
'Content-Disposition' => 'attachment; filename=ci_build_artifacts.zip' }
'Content-Disposition' => 'attachment; filename="ci_build_artifacts.zip"; filename*=UTF-8\'\'ci_build_artifacts.zip' }
end
it 'returns specific job artifacts' do
......
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