diff --git a/Classes/Fusion/ConvertEmailLinksImplementation.php b/Classes/Fusion/ConvertEmailLinksImplementation.php index f20b8aa..fed05d4 100644 --- a/Classes/Fusion/ConvertEmailLinksImplementation.php +++ b/Classes/Fusion/ConvertEmailLinksImplementation.php @@ -119,6 +119,7 @@ public function convertLinkName(array $matches) */ public function convertMailLink($matches) { + // make sure that URL parameter dividers (`&`) are not encoded $email = html_entity_decode(trim($matches[2]), ENT_QUOTES | ENT_HTML5); $replacedHrefContent = $this->mailToHrefConverter->convert($email); diff --git a/composer.json b/composer.json index bf1f609..64432dc 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,8 @@ "description": "A email address and link obfuscation plugin for Neos CMS", "require": { "php": ">=7.1", - "neos/neos": "^3.0 || ^4.0 || ^5.0 || ^7.0 || ^8.0" + "neos/neos": "^3.0 || ^4.0 || ^5.0 || ^7.0 || ^8.0", + "guzzlehttp/guzzle": "*" }, "autoload": { "psr-4": {