Commit 2e05f015 authored by Ingmar Schlecht's avatar Ingmar Schlecht
Browse files

Fixed bug #0000365: Made comparing md5 hashes of t3x files in...

Fixed bug #0000365: Made comparing md5 hashes of t3x files in mod/tools/em/index.php ignore leading whitespace.


git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_3-7@482 709f56b5-9817-0410-a4d7-c38de5d9e867
parent 027597cc
2004-09-19 Ingmar Schlecht <ingmars@web.de>
* Fixed bug #0000365: Made comparing md5 hashes of t3x files in mod/tools/em/index.php ignore leading whitespaces. Patch by Martin T. Kutschker <Martin-no5pam-Kutschker@blackbox.n0spam.net>
2004-09-17 Ingmar Schlecht <ingmars@web.de>
* Fixed bug #0000181: Added the word "JavaScript" to the note on the BE login page. It's now: "(Note: Cookies and JavaScript must be enabled!)"
2004-09-15 Ingmar Schlecht <ingmars@web.de>
* Fixed bug #0000353: In typo3\wizard_add.php removed call to non-existing printContent() method. It doesn't need to print anything.
* Fixed bug #0000353: In typo3/wizard_add.php removed call to non-existing printContent() method. It doesn't need to print anything.
2004-09-14 Michael Stucki <mundaun@gmx.ch>
......
......@@ -3978,7 +3978,8 @@ EXTENSION KEYS:
function decodeServerData($externalData,$stat=array()) {
$parts = explode(':',$externalData,4);
$dat = base64_decode($parts[2]);
if ($parts[0]==md5($dat)) {
// compare hashes ignoring any leading whitespace (This makes it work for some broken .t3x files that have leading white space. See bug #0000365. Thanks to Martin T. Kutschker <Martin-no5pam-Kutschker@blackbox.n0spam.net>)
if (ereg_replace("^[\n\r\t ]+",'',$parts[0])==md5($dat)) {
if ($parts[1]=='gzcompress') {
if ($this->gzcompress) {
$dat = gzuncompress($dat);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment