mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 07:10:12 +01:00
gui: make content-type lowercase
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
5b246d5447
commit
896b4b2b57
@ -302,6 +302,8 @@ class ModelSearchMessage extends Model {
|
|||||||
$mime['content-type']['type'] = 'text/plain';
|
$mime['content-type']['type'] = 'text/plain';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$mime['content-type']['type'] = strtolower($mime['content-type']['type']);
|
||||||
|
|
||||||
if(in_array($mime['content-type']['type'], array('multipart/mixed', 'multipart/related', 'multipart/alternative')))
|
if(in_array($mime['content-type']['type'], array('multipart/mixed', 'multipart/related', 'multipart/alternative')))
|
||||||
$this->extract_textuals_from_mime_parts($mime_parts[$i]['header'], $mime_parts[$i]['body'], $mime['content-type']['boundary']);
|
$this->extract_textuals_from_mime_parts($mime_parts[$i]['header'], $mime_parts[$i]['body'], $mime['content-type']['boundary']);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user