From 036bac791484b7d633dd014e3454c6f4790657e4 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Mon, 10 Oct 2022 13:56:30 +0200 Subject: [PATCH] Resolve #545 --- .../v/0.0.0/app/libraries/MailSo/Imap/SearchCriterias.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snappymail/v/0.0.0/app/libraries/MailSo/Imap/SearchCriterias.php b/snappymail/v/0.0.0/app/libraries/MailSo/Imap/SearchCriterias.php index eb5495a33..abfcb3564 100644 --- a/snappymail/v/0.0.0/app/libraries/MailSo/Imap/SearchCriterias.php +++ b/snappymail/v/0.0.0/app/libraries/MailSo/Imap/SearchCriterias.php @@ -299,7 +299,7 @@ abstract class SearchCriterias 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) ? '{'.\strlen($sSearch).'}'."\r\n".$sSearch : $oImapClient->EscapeString($sSearch);