Check for newlines and carriage return in artifact paths and name (#951)

* Check for newlines and carriage return in artifact paths and name

* Fix linting issue

* Update comments

* Add comment about spacing

* Remove extra space
This commit is contained in:
Konrad Pabjan
2021-12-01 16:31:37 -05:00
committed by GitHub
parent 4df5abb3ee
commit 88062ec473
6 changed files with 162 additions and 120 deletions

View File

@@ -9,10 +9,10 @@ import {UploadOptions} from './upload-options'
import {DownloadOptions} from './download-options'
import {DownloadResponse} from './download-response'
import {
checkArtifactName,
createDirectoriesForArtifact,
createEmptyFilesForArtifact
} from './utils'
import {checkArtifactName} from './path-and-artifact-name-validation'
import {DownloadHttpClient} from './download-http-client'
import {getDownloadSpecification} from './download-specification'
import {getWorkSpaceDirectory} from './config-variables'