content-disposition icon indicating copy to clipboard operation
content-disposition copied to clipboard

Create and parse HTTP Content-Disposition header

Results 28 content-disposition issues
Sort by recently updated
recently updated
newest added

[String.prototype.substr()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) is deprecated so we replace it with [String.prototype.slice()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/slice) which works similarily but isn't deprecated. .substr() probably isn't going away anytime soon but the change is trivial so it doesn't...

pr

I stumbled upon a field using `utf8` (no `utf-8`) as encoding.

pr

I'd love to use this library to generate other content-dispositions headers in multipart messages. One of the use cases is form-data, where the individual fields have a content-disposition of `form-data;...

enhancement
help wanted

This library will only generate the extended filename parameter if the filename is not representable in ISO-8859-1 (checking against [NON_LATIN1_REGEXP](https://github.com/jshttp/content-disposition/blob/master/index.js#L45)). However, some clients will not try to interpret the filename...

help wanted

Hello, I encountered a server that returns `content-disposition: attachment; filename="file.png"; filename*=utf8''file.png` which is, according to RFC 5987, malformed because the charset should be `utf-8`, rather than `utf8`. When trying to...

Hey there, first thanks for this great library! I can see that this library supports to generate the content-disposition header from a utf8 filename and allows parsing utf8 encoded filename...

help wanted

If this is meant to become the go-to solution for parsing content-disposition headers, it should ideally support as many optional features as possible. One that should be relatively easy to...

enhancement
help wanted

According to my observations, if the Cyrillic alphabet has more than 42-43 characters, the library starts to work incorrectly [Video](https://drive.google.com/open?id=184L4q6HZy8CcXr-oryMtl3e1vxaY8H5n&authuser=vadimesed%40gmail.com&usp=drive_fs)

This updates all actions to their latest versions

deps