Skip to content

Don't fail for uploads with content-type parameters in the ActiveStorage::DiskController

Created by: codergeek121

Fixes #50600 by parsing the string content-type before comparing it to the Mime::Type. This comparison will ignore the parameters.

@alexandergitter I added you as co-author for the reproduction test case.

Merge request reports