mirror of
https://github.com/freescout-helpdesk/freescout.git
synced 2025-01-31 20:11:38 +01:00
Webklex/php-imap: Boundary parsing fixed and improved to support more formats
This commit is contained in:
parent
3208a8c1d9
commit
d2b7a87bbb
@ -138,6 +138,11 @@ class Structure {
|
||||
$final_parts = [];
|
||||
//foreach($base_parts as $ctx) {
|
||||
|
||||
// https://github.com/Webklex/php-imap/commit/0a9b263eb4e29c2822cf7d68bec27a9af33ced2f
|
||||
if (strstr($context, '--'.$boundary)) {
|
||||
$boundary = '--'.$boundary;
|
||||
}
|
||||
|
||||
$boundary_len = strlen($boundary);
|
||||
$last_pos = 0;
|
||||
$positions = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user