Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

multipart_body truncates file in Windows

#1065

Uploading a file on a Windows host causes the file to be truncated when multipart_body reads it in non binary mode.

Reported by Bryan · September 18th, 2008 @ 04:09 AM

State: resolved
Milestone: none
Assigned to: josh josh
Importance: none

Activity

  1. Bryan
    Bryan

    Patch is also available for pulling from:

    git://github.com/bryanash/rails.git

    September 18th, 2008 @ 04:46 AM

  2. Pratik
    Pratik
    • State changed from new to incomplete

    Missing a test case.

    December 19th, 2008 @ 03:24 PM

  3. Bryan
    Bryan

    The attached patch now contains a test.

    January 13th, 2009 @ 04:41 AM

  4. Pratik
    Pratik
    • Milestone cleared.
    • State changed from incomplete to open
    • Assigned user set to josh

    January 13th, 2009 @ 05:22 AM

  5. Repository
    Repository
    • State changed from open to resolved

    (from [5a43908c7414996354ca427354d98d789e0210e7]) Explicitly read as binary in multipart_body for Windows [#1065 multipart_body truncates file in Windows state:resolved] Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...

    January 13th, 2009 @ 08:43 PM