Commit 0bdf3e3
Nick Holden
Fix issue with hyphens in file validation mime types
Addresses victorjonsson#646, which reported that mime types in file validations were
being parsed incorrectly when they contained hyphens. This change
ensures that we only split the allowed file types string at commas and
trailing white space and not at hyphens.1 parent 18150ec commit 0bdf3e3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments