Commit 733dfb8
committed
minor #16663 [Validator] Improve Image constraint invalid mime type message (mdoutreluingne)
This PR was merged into the 6.1 branch.
Discussion
----------
[Validator] Improve Image constraint invalid mime type message
Fixes #16662
Changed the default message in case of incorrect mime type for the image constraint.
From 6.1 we will replace `This file is not a valid image.` with this `The mime type of the file is invalid ({{ type }}). Allowed mime types are {{ types }}.`.
Commits
-------
4cf3e06 [Validator] Improve Image constraint invalid mime type message1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
| 445 | + | |
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
| |||
0 commit comments