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 4f6f869 commit 36143e6Copy full SHA for 36143e6
src/LiveComponent/assets/src/Component/index.ts
@@ -322,7 +322,7 @@ export default class Component {
322
throw new Error('File is too large to download (10MB limit)');
323
}
324
325
- const fileName = headers.get('Content-Disposition')?.split('filename=')[1];
+ const fileName = headerContentDisposition.split('filename=')[1];
326
if (!fileName) {
327
throw new Error('No filename found in Content-Disposition header');
328
0 commit comments