jshttp / content-disposition

Create and parse HTTP Content-Disposition header
MIT License
224 stars 43 forks source link

filename* is not supported #28

Closed tiholic closed 5 years ago

tiholic commented 5 years ago

image Highlighted part is not handled in parsing!

dougwilson commented 5 years ago

AFAIK it is. Can you provide code that shows it not working for you?

dougwilson commented 5 years ago
$ node -pe "require('content-disposition').parse('attachment; filename*=UTF-8\'\'foo')"
ContentDisposition {
  type: 'attachment',
  parameters: { filename: 'foo' }
}