Fixed 267U.pre2
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import cd from "content-disposition";
|
||||
export function contentDisposition(type, filename) {
|
||||
const fallback = filename.replace(/[^\w.-]/g, "_");
|
||||
return cd(filename, {
|
||||
type,
|
||||
fallback
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user