mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-01-23 02:14:26 +00:00
fix imapsync
This commit is contained in:
parent
4ce16d1ea4
commit
a835419168
1 changed files with 4 additions and 0 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue