mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-01-12 23:50:12 +01:00
Fixed EOL stuff in Piler_Mime_Decode
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
35d3685360
commit
c0b1df9bb1
@ -113,7 +113,7 @@ class Piler_Mime_Decode {
|
|||||||
if(count($parts) >= 2) {
|
if(count($parts) >= 2) {
|
||||||
self::splitMessageRaw($parts[0], $s, $j, $journal);
|
self::splitMessageRaw($parts[0], $s, $j, $journal);
|
||||||
|
|
||||||
$i = strpos($parts[1], "\n");
|
$i = strpos($parts[1], $EOL . $EOL);
|
||||||
$msg = substr($parts[1], $i);
|
$msg = substr($parts[1], $i);
|
||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
@ -130,7 +130,7 @@ class Piler_Mime_Decode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public static function removeJournal(&$message, $EOL = '\n') {
|
public static function removeJournal(&$message, $EOL = "\n") {
|
||||||
$has_journal = 0;
|
$has_journal = 0;
|
||||||
|
|
||||||
$s = self::remove_LF($message);
|
$s = self::remove_LF($message);
|
||||||
|
Loading…
Reference in New Issue
Block a user