From b191625e31c981dd8bcc7b9539992b24afd08b41 Mon Sep 17 00:00:00 2001 From: Martin Kutschker Date: Sat, 2 Sep 2006 10:35:56 +0000 Subject: [PATCH] Fixed #4141: config.spamProtectEmailAddresses does not encrypt "9" digits correctly git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1714 709f56b5-9817-0410-a4d7-c38de5d9e867 --- ChangeLog | 5 +++++ typo3/sysext/cms/tslib/class.tslib_pagegen.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bf10ad596a6..4a0ea0ac367 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ + +2006-09-02 Martin Kutschker + + * Fixed #4141: config.spamProtectEmailAddresses does not encrypt "9" digits correctly + 2006-09-01 Ingmar Schlecht * Fixed #529: Committed new TSConfig Help data. Thanks a lot to Stephane Schitter for extracting the new data from the references! diff --git a/typo3/sysext/cms/tslib/class.tslib_pagegen.php b/typo3/sysext/cms/tslib/class.tslib_pagegen.php index 23ad217ced4..b54f6f001d6 100755 --- a/typo3/sysext/cms/tslib/class.tslib_pagegen.php +++ b/typo3/sysext/cms/tslib/class.tslib_pagegen.php @@ -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 @ -- 2.20.1