[-] Core : integrated modified pull request https://github.com/ExploZe/PrestaShop/commit/40abb0aa72607ddfe912b364d8fc7d65733d2bd8
This commit is contained in:
+4
-1
@@ -270,7 +270,10 @@ class CookieCore
|
|||||||
//printf("\$content = %s<br />", $content);
|
//printf("\$content = %s<br />", $content);
|
||||||
|
|
||||||
/* Get cookie checksum */
|
/* Get cookie checksum */
|
||||||
$checksum = crc32($this->_salt.substr($content, 0, strrpos($content, '¤') + 2));
|
$tmpTab = explode('¤', $content);
|
||||||
|
array_pop($tmpTab);
|
||||||
|
$content_for_checksum = implode('¤', $tmpTab).'¤';
|
||||||
|
$checksum = crc32($this->_salt.$content_for_checksum);
|
||||||
//printf("\$checksum = %s<br />", $checksum);
|
//printf("\$checksum = %s<br />", $checksum);
|
||||||
|
|
||||||
/* Unserialize cookie content */
|
/* Unserialize cookie content */
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 11 KiB |
Reference in New Issue
Block a user