HTML "File"/attachments should probably not be considered enclosures.
This commit is contained in:
parent
593af9feb6
commit
c97957cf3e
@ -198,7 +198,7 @@ class File extends Memcached_DataObject
|
|||||||
if(isset($this->filename)){
|
if(isset($this->filename)){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
$notEnclosureMimeTypes = array('text/html');
|
$notEnclosureMimeTypes = array('text/html','application/xhtml+xml');
|
||||||
$mimetype = strtolower($this->mimetype);
|
$mimetype = strtolower($this->mimetype);
|
||||||
$semicolon = strpos($mimetype,';');
|
$semicolon = strpos($mimetype,';');
|
||||||
if($semicolon){
|
if($semicolon){
|
||||||
|
Loading…
Reference in New Issue
Block a user