Skip to content

Commit c17a9c1

Browse files
authored
Support non-ASCII file names in appdistribution:distribute (#6409)
1 parent 3848eb3 commit c17a9c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/appdistribution/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export class AppDistributionClient {
9292
method: "POST",
9393
path: `/upload/v1/${appName}/releases:upload`,
9494
headers: {
95-
"X-Goog-Upload-File-Name": distribution.getFileName(),
95+
"X-Goog-Upload-File-Name": encodeURIComponent(distribution.getFileName()),
9696
"X-Goog-Upload-Protocol": "raw",
9797
"Content-Type": "application/octet-stream",
9898
},

0 commit comments

Comments
 (0)