#14321md5 mismatch error with .t3x-files
Description
The following error occured to me several times. When I go to “backup/delete” and try to download the extension as
T3X_blah_TIMESTAMP.t3x all goes well – apparently.
But sometimes I do get an “No extension key!!! Why? – nobody knows… (Or no files in the file-array…)”.
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:
<lf><md5>:<gz>:<serialiezd_data></serialiezd_data></gz></md5></lf>
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;”.
(issue imported from #M365)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.