Hey gwoo... thanks for the pointer.
In fact that was exactly the problem.
line 223 in /libs/file.php: $data = strtr($data, array("\r\n" =>
$lineBreak, "\n" => $lineBreak, "\r" => $lineBreak));
It inserts line endings regardless of the filetype, corrupting any
binary data in the process.
I'll open a ticket if that would help
On Oct 23, 7:07 pm, Gwoo <[EMAIL PROTECTED]> wrote:
> yeah, some changes were made for the line endings on the different OS.
> Could you write a test case. The File tests are pretty easy to follow.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---