Fixed #4141: config.spamProtectEmailAddresses does not encrypt "9" digits correctly
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / tslib / class.tslib_pagegen.php
index 23ad217..b54f6f0 100755 (executable)
@@ -734,7 +734,7 @@ $GLOBALS['TSFE']->content.='
                        var len = enc.length;
                        for(var i=0; i < len; i++)      {
                                var n = enc.charCodeAt(i);
-                               if (n >= 0x2B && n <= 0x39)     {
+                               if (n >= 0x2B && n <= 0x3A)     {
                                        dec += decryptCharcode(n,0x2B,0x3A,offset);     // 0-9 . , - + / :
                                } else if (n >= 0x40 && n <= 0x5A)      {
                                        dec += decryptCharcode(n,0x40,0x5A,offset);     // A-Z @