We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a97426 commit fa226baCopy full SHA for fa226ba
1 file changed
packages/headers/src/lib/content-disposition.test.ts
@@ -193,7 +193,7 @@ describe('ContentDisposition', () => {
193
194
it('correctly decodes windows-1252 encoded filename', () => {
195
let header = new ContentDisposition("attachment; filename*=windows-1252''file%80.txt");
196
- assert.equal(header.preferredFilename, 'file€.txt');
+ assert.equal(header.preferredFilename, 'file\x80.txt');
197
});
198
199
it('handles UTF-8 encoded filename correctly', () => {
0 commit comments