Don't fail for uploads with content-type parameters in the ActiveStorage::DiskController
requested to merge github/fork/codergeek121/activestorage-diskcontroller-fails-with-parameters into main
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.