Skip to content

Commit 0054fd5

Browse files
author
Luke W. McCullough
authored
fix(appflow): allow download of packages built from branches with in the name. CT-434 (#4622)
1 parent fdd9bb2 commit 0054fd5

File tree

1 file changed

+1
-1
lines changed
  • packages/@ionic/cli/src/commands/package

1 file changed

+1
-1
lines changed

packages/@ionic/cli/src/commands/package/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ This can be used only together with build type ${input('release')} for Android a
387387
if (!filename) {
388388
req.on('response', res => {
389389
const contentDisposition = res.header['content-disposition'];
390-
filename = contentDisposition ? contentDisposition.split('=')[1] : 'output.bin';
390+
filename = contentDisposition ? contentDisposition.split('=')[1].replace(/([/?<>*|\"])/g, '_') : 'output.bin';
391391
});
392392
}
393393

0 commit comments

Comments
 (0)