Project

General

Profile

Bug #14321 » 0000365-patch_ignws.diff

Administrator Admin, 2004-09-19 11:54

View differences:

index_ignws.php Sun Sep 19 11:43:37 2004
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 (some broken .t3x files exist)
if (ereg_replace("^[\n\r\t ]+",'',$parts[0])==md5($dat)) {
if ($parts[1]=='gzcompress') {
if ($this->gzcompress) {
$dat = gzuncompress($dat);
(1-1/2)