diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-07-14 13:38:26 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-07-14 13:38:26 -0400 |
commit | c97957cf3e42b88f345408cd6d399bfe2da27f84 (patch) | |
tree | cd22d25d5d5b444dc221205bdc61754640208909 /classes | |
parent | 593af9feb6cdbb88e250501938722e656fe4a17a (diff) |
HTML "File"/attachments should probably not be considered enclosures.
Diffstat (limited to 'classes')
-rw-r--r-- | classes/File.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/File.php b/classes/File.php index 289c6e441..56d9f9827 100644 --- a/classes/File.php +++ b/classes/File.php @@ -198,7 +198,7 @@ class File extends Memcached_DataObject if(isset($this->filename)){ return true; } - $notEnclosureMimeTypes = array('text/html'); + $notEnclosureMimeTypes = array('text/html','application/xhtml+xml'); $mimetype = strtolower($this->mimetype); $semicolon = strpos($mimetype,';'); if($semicolon){ |