mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-12-11 13:45:57 +08:00
Bugfix RainLoop#2041
This commit is contained in:
parent
b09c5d586c
commit
c358a73766
1 changed files with 2 additions and 1 deletions
|
|
@ -202,6 +202,7 @@ class SieveStorage implements \RainLoop\Providers\Filters\FiltersInterface
|
|||
case \RainLoop\Providers\Filters\Enumerations\ConditionField::BODY:
|
||||
// :text :raw :content
|
||||
$sResult .= 'body '.$sTypeWord.' :contains';
|
||||
$aCapa['body'] = true;
|
||||
break;
|
||||
case \RainLoop\Providers\Filters\Enumerations\ConditionField::SIZE:
|
||||
$sResult .= 'size '.$sTypeWord;
|
||||
|
|
@ -507,7 +508,7 @@ class SieveStorage implements \RainLoop\Providers\Filters\FiltersInterface
|
|||
{
|
||||
if (!empty($sEncodedLine))
|
||||
{
|
||||
$sDecodedLine = \base64_decode(\preg_replace('/[\s]+/', '', $sEncodedLine));
|
||||
$sDecodedLine = \base64_decode(\preg_replace('/\\s+/s', '', $sEncodedLine));
|
||||
if (!empty($sDecodedLine))
|
||||
{
|
||||
$oItem = new \RainLoop\Providers\Filters\Classes\Filter();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue