We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdd9bb2 commit 0054fd5Copy full SHA for 0054fd5
packages/@ionic/cli/src/commands/package/build.ts
@@ -387,7 +387,7 @@ This can be used only together with build type ${input('release')} for Android a
387
if (!filename) {
388
req.on('response', res => {
389
const contentDisposition = res.header['content-disposition'];
390
- filename = contentDisposition ? contentDisposition.split('=')[1] : 'output.bin';
+ filename = contentDisposition ? contentDisposition.split('=')[1].replace(/([/?<>*|\"])/g, '_') : 'output.bin';
391
});
392
}
393
0 commit comments