More UTF8 message processing fixes, specifically related to tagline/tearline/origin processing
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 39s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m46s
Create Docker Image / Final Docker Image Manifest (push) Successful in 12s

This commit is contained in:
2024-06-05 21:57:16 +10:00
parent 6b1cb8cd78
commit 742f0cd015
6 changed files with 84 additions and 22 deletions

View File

@@ -34,7 +34,7 @@ class MessageProcess implements ShouldQueue
public function __construct(Echomail|Netmail $mo,bool $skipbot=FALSE)
{
// @todo We need to serialize this model here, because laravel has an error unserializing it (Model Not Found)
$this->mo = serialize($mo);
$this->mo = utf8_encode(serialize($mo));
$this->skipbot = $skipbot;
}
@@ -57,7 +57,7 @@ class MessageProcess implements ShouldQueue
*/
public function handle()
{
$this->mo = unserialize($this->mo);
$this->mo = unserialize(utf8_decode($this->mo));
// Load our details
$ftns = our_address();