Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1523)
+++ branches/2.8.x/CHANGELOG	(revision 1524)
@@ -13,6 +13,8 @@
 =========================== add small Features 2.8.2 ==========================
 
 ----------------------------------- Fixes 2.8.2 --------------------------------
+13 Nov-2011 Build 1524 Dietmar Woellbrink (Luisehahne)
+! fix secureform was not updated
 13 Nov-2011 Build 1523 Dietmar Woellbrink (Luisehahne)
 # fix fingerprint in secureform 
 ! update jquery to version 1.7
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1523)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1524)
@@ -52,4 +52,4 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.2');
-if(!defined('REVISION')) define('REVISION', '1523');
+if(!defined('REVISION')) define('REVISION', '1524');
Index: branches/2.8.x/wb/framework/SecureForm.php
===================================================================
--- branches/2.8.x/wb/framework/SecureForm.php	(revision 1523)
+++ branches/2.8.x/wb/framework/SecureForm.php	(revision 1524)
@@ -83,16 +83,17 @@
 
 	private function _generate_fingerprint()
 	{
-	// server depending values
- 		$fingerprint  = ( isset($_SERVER['SERVER_SIGNATURE']) ) ? $_SERVER['SERVER_SIGNATURE'] : '2';
+		// server depending values
+		$fingerprint  = ( isset($_SERVER['SERVER_SIGNATURE']) ) ? $_SERVER['SERVER_SIGNATURE'] : '2';
 		$fingerprint .= ( isset($_SERVER['SERVER_SOFTWARE']) ) ? $_SERVER['SERVER_SOFTWARE'] : '3';
 		$fingerprint .= ( isset($_SERVER['SERVER_NAME']) ) ? $_SERVER['SERVER_NAME'] : '5';
 		$fingerprint .= ( isset($_SERVER['SERVER_ADDR']) ) ? $_SERVER['SERVER_ADDR'] : '7';
 		$fingerprint .= ( isset($_SERVER['SERVER_PORT']) ) ? $_SERVER['SERVER_PORT'] : '11';
 		$fingerprint .= ( isset($_SERVER['SERVER_ADMIN']) ) ? $_SERVER['SERVER_ADMIN'] : '13';
+		$fingerprint .= __FILE__;
 		$fingerprint .= PHP_VERSION;
-	// client depending values
-		$fingerprint .= ( isset($_SERVER['HTTP_USER_AGENT']) ) ? $_SERVER['HTTP_USER_AGENT'] : '17';
+		// client depending values
+		$fingerprint .= ( isset($_SERVER['HTTP_USER_AGENT']) ) ? $_SERVER['HTTP_USER_AGENT'] : '19';
 		$usedOctets = ( defined('FINGERPRINT_WITH_IP_OCTETS') ) ? (intval(FINGERPRINT_WITH_IP_OCTETS) % 5) : 2;
 		$clientIp = ( isset($_SERVER['REMOTE_ADDR'])  ? $_SERVER['REMOTE_ADDR'] : '' );
 		if(($clientIp != '') && ($usedOctets > 0)){
@@ -100,10 +101,14 @@
 			while(sizeof($ip) > $usedOctets) { array_pop($ip); }
 			$clientIp = implode('.', $ip);
 		}else {
-			$clientIp = 19;
+			$clientIp = '23';
 		}
-		$fingerprint .= $clientIp;
-		return md5($fingerprint);
+		$fingerprint = md5($fingerprint.$clientIp);
+		$lastDigit = hexdec($fingerprint[strlen($fingerprint)-1]);
+		if ((hexdec($fingerprint[0]) + $lastDigit) == 16) {
+			$fingerprint[strlen($fingerprint)-1] = dechex(($lastDigit + 6) % 16);
+		}
+		return $fingerprint;
 	}
 
 	private function _calcFtan($tanPart)
Index: branches/2.8.x/wb
===================================================================
--- branches/2.8.x/wb	(revision 1523)
+++ branches/2.8.x/wb	(revision 1524)

Property changes on: branches/2.8.x/wb
___________________________________________________________________
Modified: svn:ignore
## -1,4 +1,5 ##
 config.php
 media
 pages
+pwgen.php
 robots.txt
