Join GitHub today
[6.x] Allow a symfony file instance in validate dimensions #30009
When a user validates the dimensions of a
This PR fixes that issue by using the
According to Symfony documentation:
What does this break?
The mime type will not be extracted from the request but guessed from the files content. So the uploaded files must be valid. In case of a .svg the file must contain the opening
I think that is not a breaking change, because uploaded files should – in the past also – always be valid.