Skip to content

Commit c6c9f2a

Browse files
kevinklikafabpot
authored andcommitted
Update MimeTypeExtensionGuesser.php
Add ```'text/rtf' => 'rtf'``` type, as it is a valid type specification for rtf documents.
1 parent b37d771 commit c6c9f2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

File/MimeType/MimeTypeExtensionGuesser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,7 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
723723
'text/plain' => 'txt',
724724
'text/prs.lines.tag' => 'dsc',
725725
'text/richtext' => 'rtx',
726+
'text/rtf' => 'rtf',
726727
'text/sgml' => 'sgml',
727728
'text/tab-separated-values' => 'tsv',
728729
'text/troff' => 't',

0 commit comments

Comments
 (0)