Issue Bug Closed

#87071Method encryptEmail can't handle umlauts in domain with type "ascii"

Wittkiel Gruppe 12/04/18, 11:11 updated 05/07/19, 12:15

Description

We are using “config.spamProtectEmailAddresses = ascii” and want to link to a mail-address with an umlaut in domain-part:

Expected protected link:
mailto:example@ärger.de

Current behaviour:
mailto:example@ärger.de

It seems method ord (http://php.net/manual/en/function.ord.php) in /sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php->encryptEmail can’t handle umlauts like Ä ä Ö ö Ü ü.

TYPO3 9.5.1
PHP 7.2.12

Reviews 1