Fixed #4141: config.spamProtectEmailAddresses does not encrypt "9" digits correctly
authorMartin Kutschker <martin.t.kutschker@blackbox.net>
Sat, 2 Sep 2006 10:35:56 +0000 (10:35 +0000)
committerMartin Kutschker <martin.t.kutschker@blackbox.net>
Sat, 2 Sep 2006 10:35:56 +0000 (10:35 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1714 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_pagegen.php

index bf10ad5..4a0ea0a 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+
+2006-09-02  Martin Kutschker  <martin.t.kutschker@blackbox.net>
+
+       * Fixed #4141: config.spamProtectEmailAddresses does not encrypt "9" digits correctly
+
 2006-09-01 Ingmar Schlecht  <ingmar@typo3.org>
 
        * Fixed #529: Committed new TSConfig Help data. Thanks a lot to Stephane Schitter for extracting the new data from the references!
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 @