[TASK] Add comment explaining spamProtectEmailAddresses=ascii 59/48359/2
authorStephan Großberndt <stephan@grossberndt.de>
Sat, 28 May 2016 12:08:51 +0000 (14:08 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Sat, 28 May 2016 12:35:16 +0000 (14:35 +0200)
Resolves: #76351
Releases: master
Change-Id: Ic6971eaa4f2bf195022334c103e5af0a6079aed3
Reviewed-on: https://review.typo3.org/48359
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php

index 5101014..81f52cc 100644 (file)
@@ -3770,6 +3770,7 @@ class TypoScriptFrontendController
     public function encryptEmail($string, $back = false)
     {
         $out = '';
+        // obfuscates using the decimal HTML entity references for each character
         if ($this->spamProtectEmailAddresses === 'ascii') {
             $stringLength = strlen($string);
             for ($a = 0; $a < $stringLength; $a++) {