mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 20:40:13 +01:00
message preview fix
This commit is contained in:
parent
fe3d5f9744
commit
24471305bd
@ -409,8 +409,8 @@ class ModelSearchMessage extends Model {
|
|||||||
if(preg_match("/^To:/i", $l) || preg_match("/^Cc:/i", $l)){ $state = "TO"; }
|
if(preg_match("/^To:/i", $l) || preg_match("/^Cc:/i", $l)){ $state = "TO"; }
|
||||||
if(preg_match("/^Date:/i", $l)){ $state = "DATE"; }
|
if(preg_match("/^Date:/i", $l)){ $state = "DATE"; }
|
||||||
if(preg_match("/^Subject:/i", $l)){ $state = "SUBJECT"; }
|
if(preg_match("/^Subject:/i", $l)){ $state = "SUBJECT"; }
|
||||||
if(preg_match("/^Content-Type:/", $l)){ $state = "CONTENT_TYPE"; }
|
if(preg_match("/^Content-Type:/i", $l)){ $state = "CONTENT_TYPE"; }
|
||||||
if(preg_match("/^Content-Disposition:/", $l)){ $state = "CONTENT_DISPOSITION"; }
|
if(preg_match("/^Content-Disposition:/i", $l)){ $state = "CONTENT_DISPOSITION"; }
|
||||||
|
|
||||||
$l = preg_replace("/</", "<", $l);
|
$l = preg_replace("/</", "<", $l);
|
||||||
$l = preg_replace("/>/", ">", $l);
|
$l = preg_replace("/>/", ">", $l);
|
||||||
|
Loading…
Reference in New Issue
Block a user