From cc1a204a6b57fbf7c29af78f112eb4f3f130cba1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E4=B8=96=E5=86=9B?= <30999793+AllForNothing@users.noreply.github.com> Date: Mon, 17 Jan 2022 14:19:19 +0800 Subject: [PATCH] Encode repo name for deleting accessory (#16234) Signed-off-by: AllForNothing --- .../artifact-list-tab/artifact-list-tab.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list/artifact-list-tab/artifact-list-tab.component.ts b/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list/artifact-list-tab/artifact-list-tab.component.ts index 384c02211..3aaf5c56b 100644 --- a/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list/artifact-list-tab/artifact-list-tab.component.ts +++ b/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list/artifact-list-tab/artifact-list-tab.component.ts @@ -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)