minor #11128 Update MimeTypeExtensionGuesser.php (kevinklika)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #11128).
Discussion
----------
Update MimeTypeExtensionGuesser.php
Add ```'text/rtf' => 'rtf'``` type, as it is a valid type specification for rtf documents.
Commits
-------
c986b91
Update MimeTypeExtensionGuesser.php
This commit is contained in:
commit
eca7915a1e
@ -723,6 +723,7 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
|
|||||||
'text/plain' => 'txt',
|
'text/plain' => 'txt',
|
||||||
'text/prs.lines.tag' => 'dsc',
|
'text/prs.lines.tag' => 'dsc',
|
||||||
'text/richtext' => 'rtx',
|
'text/richtext' => 'rtx',
|
||||||
|
'text/rtf' => 'rtf',
|
||||||
'text/sgml' => 'sgml',
|
'text/sgml' => 'sgml',
|
||||||
'text/tab-separated-values' => 'tsv',
|
'text/tab-separated-values' => 'tsv',
|
||||||
'text/troff' => 't',
|
'text/troff' => 't',
|
||||||
|
Reference in New Issue
Block a user