we _do_ want to show text/html as attachments, since that's how mustard and crow expands oversized notices
This commit is contained in:
parent
a3b66da261
commit
a3574bac6c
|
@ -356,7 +356,7 @@ class File extends Managed_DataObject
|
|||
$enclosure->$key = $this->$key;
|
||||
}
|
||||
|
||||
$needMoreMetadataMimetypes = array(null, 'text/html', 'application/xhtml+xml');
|
||||
$needMoreMetadataMimetypes = array(null, 'application/xhtml+xml');
|
||||
|
||||
if (!isset($this->filename) && in_array(common_bare_mime($enclosure->mimetype), $needMoreMetadataMimetypes)) {
|
||||
// This fetches enclosure metadata for non-local links with unset/HTML mimetypes,
|
||||
|
|
Loading…
Reference in New Issue
Block a user