Skip to content

Commit 817029a

Browse files
authored
Merge pull request GitLabPHP#318 from lowtower/patch-1
encode $job_name
2 parents dc11c09 + 91e47d4 commit 817029a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Gitlab/Api/Jobs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function artifacts($project_id, $job_id)
8181
public function artifactsByRefName($project_id, $ref_name, $job_name)
8282
{
8383
return $this->getAsResponse("projects/".$this->encodePath($project_id)."/jobs/artifacts/".$this->encodePath($ref_name)."/download", array(
84-
'job' => $job_name
84+
'job' => $this->encodePath($job_name)
8585
))->getBody();
8686
}
8787

0 commit comments

Comments
 (0)