Bug #87071
Method encryptEmail can't handle umlauts in domain with type "ascii"
100%
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
Associated revisions
[BUGFIX] Accept Unicode characters in email spam protection
Use multibyte handling to properly process all Unicode characters for
the spam protection email address handling.
Resolves: #87071
Releases: master
Change-Id: I9fec60c000a202ae34927ec4917e29e2d0e64a5c
Reviewed-on: https://review.typo3.org/59033
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Joerg Kummer <typo3@enobe.de>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Wittkiel Gruppe <ts@wittkiel-gruppe.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
History
#1
Updated by Gerrit Code Review 3 months ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59033
#2
Updated by Gerrit Code Review 3 months ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59033
#3
Updated by Gerrit Code Review 3 months ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59033
#4
Updated by Gerrit Code Review 2 months ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59033
#5
Updated by Gerrit Code Review 2 months ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59033
#6
Updated by Gerrit Code Review 2 months ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59033
#7
Updated by Gerrit Code Review 2 months ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59033
#8
Updated by Oliver Bartsch 2 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a9f729852134b5127fd4ae624e80b5a9db08cb25.