| | |
| | | - removed caching functions |
| | | - handling connection startup response |
| | | - added UID EXPUNGE support |
| | | - fixed problem with double quote at the end of folder name in LIST and LSUB |
| | | |
| | | ********************************************************/ |
| | | |
| | |
| | | // split one line |
| | | $a = iil_ExplodeQuotedString(' ', $line); |
| | | // last string is folder name |
| | | $folder = trim($a[count($a)-1], '"'); |
| | | $folder = preg_replace(array('/^"/', '/"$/'), '', $a[count($a)-1]); |
| | | |
| | | if (empty($ignore) || (!empty($ignore) |
| | | && !preg_match('/'.preg_quote(ignore, '/').'/i', $folder))) { |
| | |
| | | $a = iil_ExplodeQuotedString(' ', $line); |
| | | |
| | | // last string is folder name |
| | | $folder = trim($a[count($a)-1], '"'); |
| | | |
| | | $folder = preg_replace(array('/^"/', '/"$/'), '', $a[count($a)-1]); |
| | | |
| | | if ((!in_array($folder, $folders)) && (empty($ignore) |
| | | || (!empty($ignore) && !preg_match('/'.preg_quote(ignore, '/').'/i', $folder)))) { |
| | | $folders[$i] = $folder; |