-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: better handle extensions for unrecognized mimetypes
Previously we'd error out if we couldn't decide on a filename for the file. Now, if we don't assign an extension based on the mimetype, we'll simply return the original filename unmodified.
- Loading branch information
1 parent
144c15b
commit 174418b
Showing
1 changed file
with
9 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters