Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expressjs_multer/support-for-unicode-headers #65578

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions types/multer/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,12 @@ declare namespace multer {
} | undefined;
/** Preserve the full path of the original filename rather than the basename. (Default: false) */
preservePath?: boolean | undefined;
/**
* For multipart forms, the default character set to use for values of
* part header parameters (e.g. filename) that are not extended
* parameters (that contain an explicit charset). (Default: latin1)
*/
defParamCharset?: string | undefined;
/**
* Optional function to control which files are uploaded. This is called
* for every file that is processed.
Expand Down