mirror of
https://github.com/freescout-helpdesk/freescout.git
synced 2025-01-31 20:11:38 +01:00
Merge branch 'master' of github.com:freescout-helpdesk/freescout into dist
This commit is contained in:
commit
e71de79923
@ -1036,6 +1036,12 @@ class Mail
|
||||
*/
|
||||
public static function decodeSubject($subject)
|
||||
{
|
||||
// Sometimes trying to decode non-encoded strings leads
|
||||
// to loosing accents.
|
||||
// https://github.com/freescout-help-desk/freescout/issues/4506
|
||||
if (!strstr($subject, '=?')) {
|
||||
return $subject;
|
||||
}
|
||||
// Remove new lines as iconv_mime_decode() may loose a part separated by new line:
|
||||
// =?utf-8?Q?Gesch=C3=A4ftskonto?= erstellen =?utf-8?Q?f=C3=BCr?=
|
||||
// 249143
|
||||
|
@ -151,6 +151,7 @@
|
||||
"Symfony\\Component\\Console\\Helper\\": "overrides/symfony/console/Helper/",
|
||||
"Symfony\\Component\\Console\\": "overrides/symfony/console/",
|
||||
"Symfony\\Component\\Console\\Command\\": "overrides/symfony/console/Command/",
|
||||
"Symfony\\Component\\Console\\Output\\": "overrides/symfony/console/Output/",
|
||||
"DebugBar\\": "overrides/maximebf/debugbar/src/DebugBar/",
|
||||
"DebugBar\\DataFormatter\\": "overrides/maximebf/debugbar/src/DataFormatter/DataFormatter/",
|
||||
"Illuminate\\Cache\\Console\\": "overrides/laravel/framework/src/Illuminate/Cache/Console/",
|
||||
@ -345,6 +346,7 @@
|
||||
"vendor/symfony/console/Helper/Helper.php",
|
||||
"vendor/symfony/console/Helper/ProcessHelper.php",
|
||||
"vendor/symfony/console/Command/Command.php",
|
||||
"vendor/symfony/console/Output/Output.php",
|
||||
"vendor/symfony/finder/Iterator/SortableIterator.php",
|
||||
"vendor/symfony/css-selector/XPath/Extension/NodeExtension.php",
|
||||
"vendor/symfony/translation/Loader/ArrayLoader.php",
|
||||
|
@ -18,7 +18,7 @@ return [
|
||||
| or any other location as required by the application or its packages.
|
||||
*/
|
||||
|
||||
'version' => '1.8.167',
|
||||
'version' => '1.8.168',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
175
overrides/symfony/console/Output/Output.php
Normal file
175
overrides/symfony/console/Output/Output.php
Normal file
@ -0,0 +1,175 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\Console\Output;
|
||||
|
||||
use Symfony\Component\Console\Formatter\OutputFormatter;
|
||||
use Symfony\Component\Console\Formatter\OutputFormatterInterface;
|
||||
|
||||
/**
|
||||
* Base class for output classes.
|
||||
*
|
||||
* There are five levels of verbosity:
|
||||
*
|
||||
* * normal: no option passed (normal output)
|
||||
* * verbose: -v (more output)
|
||||
* * very verbose: -vv (highly extended output)
|
||||
* * debug: -vvv (all debug output)
|
||||
* * quiet: -q (no output)
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*/
|
||||
abstract class Output implements OutputInterface
|
||||
{
|
||||
private $verbosity;
|
||||
private $formatter;
|
||||
|
||||
/**
|
||||
* @param int $verbosity The verbosity level (one of the VERBOSITY constants in OutputInterface)
|
||||
* @param bool $decorated Whether to decorate messages
|
||||
* @param OutputFormatterInterface|null $formatter Output formatter instance (null to use default OutputFormatter)
|
||||
*/
|
||||
public function __construct($verbosity = self::VERBOSITY_NORMAL, $decorated = false, ?OutputFormatterInterface $formatter = null)
|
||||
{
|
||||
$this->verbosity = null === $verbosity ? self::VERBOSITY_NORMAL : $verbosity;
|
||||
$this->formatter = $formatter ?: new OutputFormatter();
|
||||
$this->formatter->setDecorated($decorated);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function setFormatter(OutputFormatterInterface $formatter)
|
||||
{
|
||||
$this->formatter = $formatter;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getFormatter()
|
||||
{
|
||||
return $this->formatter;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function setDecorated($decorated)
|
||||
{
|
||||
$this->formatter->setDecorated($decorated);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function isDecorated()
|
||||
{
|
||||
return $this->formatter->isDecorated();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function setVerbosity($level)
|
||||
{
|
||||
$this->verbosity = (int) $level;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getVerbosity()
|
||||
{
|
||||
return $this->verbosity;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function isQuiet()
|
||||
{
|
||||
return self::VERBOSITY_QUIET === $this->verbosity;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function isVerbose()
|
||||
{
|
||||
return self::VERBOSITY_VERBOSE <= $this->verbosity;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function isVeryVerbose()
|
||||
{
|
||||
return self::VERBOSITY_VERY_VERBOSE <= $this->verbosity;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function isDebug()
|
||||
{
|
||||
return self::VERBOSITY_DEBUG <= $this->verbosity;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function writeln($messages, $options = self::OUTPUT_NORMAL)
|
||||
{
|
||||
$this->write($messages, true, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function write($messages, $newline = false, $options = self::OUTPUT_NORMAL)
|
||||
{
|
||||
$messages = (array) $messages;
|
||||
|
||||
$types = self::OUTPUT_NORMAL | self::OUTPUT_RAW | self::OUTPUT_PLAIN;
|
||||
$type = $types & $options ?: self::OUTPUT_NORMAL;
|
||||
|
||||
$verbosities = self::VERBOSITY_QUIET | self::VERBOSITY_NORMAL | self::VERBOSITY_VERBOSE | self::VERBOSITY_VERY_VERBOSE | self::VERBOSITY_DEBUG;
|
||||
$verbosity = $verbosities & $options ?: self::VERBOSITY_NORMAL;
|
||||
|
||||
if ($verbosity > $this->getVerbosity()) {
|
||||
return;
|
||||
}
|
||||
|
||||
foreach ($messages as $message) {
|
||||
switch ($type) {
|
||||
case OutputInterface::OUTPUT_NORMAL:
|
||||
$message = $this->formatter->format($message);
|
||||
break;
|
||||
case OutputInterface::OUTPUT_RAW:
|
||||
break;
|
||||
case OutputInterface::OUTPUT_PLAIN:
|
||||
$message = strip_tags($this->formatter->format($message));
|
||||
break;
|
||||
}
|
||||
|
||||
$this->doWrite($message, $newline);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes a message to the output.
|
||||
*
|
||||
* @param string $message A message to write to the output
|
||||
* @param bool $newline Whether to add a newline or not
|
||||
*/
|
||||
abstract protected function doWrite($message, $newline);
|
||||
}
|
@ -710,6 +710,19 @@ class Header {
|
||||
if (!property_exists($address, 'personal')) {
|
||||
$address->personal = false;
|
||||
} else {
|
||||
// $personalParts = $this->mime_header_decode($address->personal);
|
||||
|
||||
// if (is_array($personalParts)) {
|
||||
// $address->personal = '';
|
||||
// foreach ($personalParts as $p) {
|
||||
// $address->personal .= $this->convertEncoding($p->text, $this->getEncoding($p));
|
||||
// }
|
||||
// }
|
||||
|
||||
// if (strpos($address->personal, "'") === 0) {
|
||||
// $address->personal = str_replace("'", "", $address->personal);
|
||||
// }
|
||||
|
||||
$personal_slices = explode(" ", $address->personal);
|
||||
$address->personal = "";
|
||||
foreach ($personal_slices as $slice) {
|
||||
@ -847,7 +860,7 @@ class Header {
|
||||
|
||||
try {
|
||||
$parsed_date = self::doParseDate($date);
|
||||
} catch (\Exception $_e) {
|
||||
} catch (\Exception $e) {
|
||||
if (!isset($this->config["fallback_date"])) {
|
||||
// Simply use current date.
|
||||
// https://github.com/freescout-help-desk/freescout/issues/4159
|
||||
|
@ -139,7 +139,7 @@ class Structure {
|
||||
//foreach($base_parts as $ctx) {
|
||||
|
||||
// https://github.com/Webklex/php-imap/commit/0a9b263eb4e29c2822cf7d68bec27a9af33ced2f
|
||||
if (strstr($context, '--'.$boundary)) {
|
||||
if (strlen($boundary) == 1 && strstr($context, '--'.$boundary)) {
|
||||
$boundary = '--'.$boundary;
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
From: from@there.com
|
||||
From: =?UTF-8?Q?An=C3=A1lisis_EC_Madrid?= <analisismadrid@xxx.org>
|
||||
To: to@here.com
|
||||
Subject: =?ISO-2022-JP?B?GyRCIXlCaBsoQjEzMhskQjlmISEhViUsITwlRyVzGyhCJhskQiUoJS8lOSVGJWolIiFXQGxMZ0U5JE4kPyRhJE4jURsoQiYbJEIjQSU1JW0lcyEhIVo3bjQpJSglLyU5JUYlaiUiISYlbyE8JS8hWxsoQg==?=
|
||||
Date: Wed, 13 Sep 2017 13:05:45 +0200
|
||||
|
220
tests/Messages/message-2.eml
Normal file
220
tests/Messages/message-2.eml
Normal file
@ -0,0 +1,220 @@
|
||||
Sender: "test@mail.com" <test@mail.com>
|
||||
From: "test@mail.com" <test@mail.com>
|
||||
Subject: Test bad boundary
|
||||
To: "test_1@mail.com" <test_1@mail.com>
|
||||
Cc:
|
||||
Bcc:
|
||||
MIME-Version: 1.0
|
||||
Content-Type: multipart/mixed; boundary="-"
|
||||
|
||||
This is a multi-part message in MIME format.
|
||||
|
||||
---
|
||||
Content-Type: text/plain
|
||||
|
||||
This message may contain an attachment in a PDF format.
|
||||
|
||||
Special Comments
|
||||
-
|
||||
See attached document
|
||||
|
||||
---
|
||||
Content-Type: application/pdf; name="file.pdf"
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Disposition: inline; filename="file.pdf"
|
||||
Content-MD5: MLGn6wT7mI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||
JdE9UR3p8RTpTKPv5pD/+u3PMxrTGItXfktO50jFJRkWm0UShSrDNPcRiMVa330ceWw7NKw07r9i
|
||||
JhNUYf8AtiGI+QplbmRzdHJlYW0KZW5kb2JqCjQgMCBvYmoKPDwvVHlwZSAvRm9udAovU3VidHlw
|
||||
ZSAvVHlwZTAKL0Jhc2VGb250IC9BQUFBQUErQXJpYWxNVAovRW5jb2RpbmcgL0lkZW50aXR5LUgK
|
||||
L0Rlc2NlbmRhbnRGb250cyBbMTAgMCBSXQovVG9Vbmljb2RlIDExIDAgUj4+CmVuZG9iagp4cmVm
|
||||
CjAgMTIKMDAwMDAwMDAwMCA2NTUzNSBmIAowMDAwMDAwMDE1IDAwMDAwIG4gCjAwMDAwMDA0MDEg
|
||||
MDAwMDAgbiAKMDAwMDAwMDEwMSAwMDAwMCBuIAowMDAwMDEwNDU5IDAwMDAwIG4gCjAwMDAwMDAx
|
||||
MzggMDAwMDAgbiAKMDAwMDAwMDYwOSAwMDAwMCBuIAowMDAwMDAwNjY0IDAwMDAwIG4gCjAwMDAw
|
||||
MDA3MTEgMDAwMDAgbiAKMDAwMDAwOTU4NSAwMDAwMCBuIAowMDAwMDA5ODE5IDAwMDAwIG4gCjAw
|
||||
MDAwMTAxMTcgMDAwMDAgbiAKdHJhaWxlcgo8PC9TaXplIDEyCi9Sb290IDcgMCBSCi9JbmZvIDEg
|
||||
MCBSPj4Kc3RhcnR4cmVmCjEwNTk4CiUlRU9GCg==
|
||||
|
||||
-----
|
@ -42,6 +42,11 @@ class WebklexMessage1Test extends FixtureWebklexMessage {
|
||||
$attachment = $attachments->first();
|
||||
self::assertSame("☆第132号 「ガーデン&エクステリア」専門店のためのQ&Aサロン 【月刊エクステリア・ワーク】", $attachment->filename);
|
||||
self::assertSame("☆第132号 「ガーデン&エクステリア」専門店のためのQ&Aサロン 【月刊エクステリア・ワーク】", $attachment->name);
|
||||
|
||||
// https://github.com/freescout-help-desk/freescout/issues/4506
|
||||
$from = $message->getFrom();
|
||||
self::assertSame(1, count($from->get()));
|
||||
self::assertSame('Análisis EC Madrid', $from[0]->personal);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -97,4 +102,21 @@ class WebklexMessage1Test extends FixtureWebklexMessage {
|
||||
self::assertSame("Checkliste 10.,DAVIDGASSE 76-80;2;2.pdf", $attachment->filename);
|
||||
}
|
||||
|
||||
// https://github.com/Webklex/php-imap/commit/0a9b263eb4e29c2822cf7d68bec27a9af33ced2f
|
||||
public function testMessageParts() {
|
||||
$message = $this->getFixture("message-2.eml");
|
||||
|
||||
self::assertSame("Test bad boundary", (string)$message->subject);
|
||||
|
||||
$attachments = $message->getAttachments();
|
||||
self::assertSame(1, $attachments->count());
|
||||
|
||||
|
||||
$attachment = $attachments->first();
|
||||
//self::assertSame("file.pdf", $attachment->name);
|
||||
self::assertSame("file.pdf", $attachment->filename);
|
||||
self::assertStringStartsWith("%PDF-1.4", $attachment->content);
|
||||
self::assertStringEndsWith("%%EOF\n", $attachment->content);
|
||||
self::assertSame(14938, $attachment->size);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user