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);