[Typo3-dev] tracking md5 mismatch error with .t3x-files

Martin T. Kutschker Martin.no5pam.Kutschker at blackbox.n0spam.net
Thu Sep 16 16:13:00 CEST 2004


Hi!

After been annoyed too much with broken .t3x-files I did some research. 
To me it seems that the downloaded files contains one spurious line feed 
(LF, "\n") as the very first byte in the file. This causes the import to 
break.

The simple solution is to ignore the LF. Now the md5 strings mismatch, 
because the string comparison fails with the LF. Remove it from the md5 
within the .t3x and you're done.

Though I really would like to know WHY the LF gets transmitted in the 
first place. The surroundign code has only "header(...); echo $content;".

I fear it has something to do with output buffering.

ob_get_level() tells me I'm on level 1. And ob_list_handlers() says that 
gzip compression is in place. But I cannot remove the handler, so I'm stuck.

Masi




More information about the TYPO3-dev mailing list