From c17a9c123e0b0771d7061495825161a5d1a2380d Mon Sep 17 00:00:00 2001 From: Anthony Barone Date: Wed, 27 Sep 2023 12:30:26 -0400 Subject: [PATCH] Support non-ASCII file names in `appdistribution:distribute` (#6409) --- src/appdistribution/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/appdistribution/client.ts b/src/appdistribution/client.ts index 76bc0f2ff9d..2e33f868cd0 100644 --- a/src/appdistribution/client.ts +++ b/src/appdistribution/client.ts @@ -92,7 +92,7 @@ export class AppDistributionClient { method: "POST", path: `/upload/v1/${appName}/releases:upload`, headers: { - "X-Goog-Upload-File-Name": distribution.getFileName(), + "X-Goog-Upload-File-Name": encodeURIComponent(distribution.getFileName()), "X-Goog-Upload-Protocol": "raw", "Content-Type": "application/octet-stream", },