Encode repo name for deleting accessory (#16234)

Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
孙世军 2022-01-17 14:19:19 +08:00 committed by GitHub
parent 097efb201b
commit cc1a204a6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -785,7 +785,7 @@ export class ArtifactListTabComponent implements OnInit, OnDestroy {
this.operationService.publishInfo(opeMessage);
const params: NewArtifactService.DeleteArtifactParams = {
projectName: this.projectName,
repositoryName: this.repoName,
repositoryName: dbEncodeURIComponent(this.repoName),
reference: message.data.digest,
};
this.newArtifactService.deleteArtifact(params)