fix imapsync

This commit is contained in:
FreddleSpl0it 2022-06-23 18:36:54 +02:00
parent 4ce16d1ea4
commit a835419168
No known key found for this signature in database
GPG Key ID: 6315227FF33D2425

View File

@ -339,6 +339,8 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
// validate custom params
foreach (explode(' -', $custom_params) as $param){
if(empty($param)) continue;
if (str_contains($param, ' ')) {
// bad char
$_SESSION['return'][] = array(
@ -1792,6 +1794,8 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
// validate custom params
foreach (explode(' -', $custom_params) as $param){
if(empty($param)) continue;
if (str_contains($param, ' ')) {
// bad char
$_SESSION['return'][] = array(