Commit a571b3e
authored
fix(isDataURI): fix MIME types with underscores not getting matched (#2122)
* test(isDataURI): add test case with an underscore in MIME type
preparation for fixing #2121
* fix(isDataURI): add underscore to RegExp
also match valid MIME types with an underscore in their name
fixes #21211 parent d8f3a24 commit a571b3e
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11124 | 11124 | | |
11125 | 11125 | | |
11126 | 11126 | | |
| 11127 | + | |
11127 | 11128 | | |
11128 | 11129 | | |
11129 | 11130 | | |
| |||
0 commit comments