mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Resolve #545
This commit is contained in:
parent
b12852bd08
commit
036bac7914
1 changed files with 1 additions and 1 deletions
|
|
@ -299,7 +299,7 @@ abstract class SearchCriterias
|
||||||
return $sCriteriasResult ?: 'ALL';
|
return $sCriteriasResult ?: 'ALL';
|
||||||
}
|
}
|
||||||
|
|
||||||
private static function escapeSearchString(\MailSo\Imap\ImapClient $oImapClient, string $sSearch) : string
|
public static function escapeSearchString(\MailSo\Imap\ImapClient $oImapClient, string $sSearch) : string
|
||||||
{
|
{
|
||||||
return !\MailSo\Base\Utils::IsAscii($sSearch)
|
return !\MailSo\Base\Utils::IsAscii($sSearch)
|
||||||
? '{'.\strlen($sSearch).'}'."\r\n".$sSearch : $oImapClient->EscapeString($sSearch);
|
? '{'.\strlen($sSearch).'}'."\r\n".$sSearch : $oImapClient->EscapeString($sSearch);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue