Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use base filename on test (golang/go#45789)
On older versions of Go, `multipart.Part.FileName()` includes the directory path information, which doesn't comply with RFC 7578. In order to accomodate the tests for older Go versions, the base name is obtained regardless.
- Loading branch information