URL Links from tokens turn into x-webdoc

Your software
My Mautic version is: 5.1
My PHP version is: 8.1
My Database type and version is: MariaDB Operator

Your problem
My problem is: Emails from Mautic are turning URLs into x-webdoc code instead of keeping https.

These errors are showing in the log: I’m not getting any errors. It’s just not sending the URLs correctly in the emails when it’s from a token.

Steps I have tried to fix the problem: I have tried turning off link tracking and email tracking, but that has not solved the issue. Also that obviously defeats one of the purposes of using Mautic. Opening a test in the web browser shows the links properly. So something in the way Mautic sends the emails is messing up the links.

I have since updated to v5.2.7 and this is no longer an issue. My links are behaving as expected.