Project

General

Profile

Actions

Bug #20728

closed

IE8 MD5 superchallenge produce wrong MD5 value

Added by Torsten Peters over 14 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
felogin
Target version:
-
Start date:
2009-07-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The javascript "typo3/md5.js" returns a wrong value on submitting the Loginform. The returned value is always wrong and not equals the md5 value of php.

All other Browsers return the correct value, only the IE8 return the wrong value.

TYPO3 4.2.6
newloginbox 3.0.1
kb_md5fepw 0.4.0
(issue imported from #M11491)


Files

md5.js (9.34 KB) md5.js Administrator Admin, 2009-07-07 13:17
superchallange_pass.js (1.14 KB) superchallange_pass.js Administrator Admin, 2009-07-27 09:59
Actions #1

Updated by Torsten Peters over 14 years ago

I've got the solution...

The JavaScript from kb_md5fepw is incorrectly.

WRON Function:

function superchallenge_pass(form) {
var pass = form.pass.value;
if (pass) {
var enc_pass = MD5(pass);
var str = form.user.value+":"+enc_pass+":"+form.challenge.value;
form.pass.value = MD5(str);
return true;
} else {
return false;
}
}

Use the Original JavaScript from the newloginbox and it works fine (attatched)

Actions #2

Updated by Christian Kuhn over 14 years ago

Resolved, no change required:

Problem in extension, not in core.

Actions #3

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF