From c97957cf3e42b88f345408cd6d399bfe2da27f84 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Tue, 14 Jul 2009 13:38:26 -0400 Subject: HTML "File"/attachments should probably not be considered enclosures. --- classes/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/File.php') 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){ -- cgit v1.2.3-54-g00ecf