Bug #87071

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

Added by Wittkiel Gruppe 9 days ago. Updated 3 days ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-12-04
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Revision a9f72985 (diff)
Added by Oliver Bartsch 3 days ago

[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 <>
Tested-by: Joerg Kummer <>
Reviewed-by: Josef Glatz <>
Tested-by: Josef Glatz <>
Reviewed-by: Wittkiel Gruppe <>
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>

History

#1 Updated by Gerrit Code Review 9 days 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 8 days 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 8 days 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 8 days 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 7 days 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 4 days 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 4 days 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 3 days ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF