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.

rack.input requires ASCII-8BIT encoded StringIO

#3392

New Rack (1.0.1) throws an exception if the rack.input parameter is not binary encoded. This breaks integration tests (Cucumber, Webrat, etc.).

Reported by qoobaa · October 19th, 2009 @ 10:44 AM

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

Activity

  1. yury
    yury

    ruby 1.9.1p243, rack 1.0.1, rails-2-3-stable
    Without this patch i have 2 failures, 66 errors in actionpack tests.
    With patch everything is ok.

    October 31st, 2009 @ 06:41 PM

  2. Adam S
  3. Chip
    Chip

    Thanks!

    Works with my system:
    ruby 1.9.1p129, rack 1.0.1, rails 2.3.4

    November 11th, 2009 @ 11:27 PM

  4. Taylor luk
    Taylor luk

    +1 confirm bug , cucumber + webrat outputs that error message

    ruby 1.9.1 p243
    rails 2.3.4

    temporary patch to make cucumber work again without touching rails core

    https://rspec.lighthouseapp.com/projects/16211-cucumber/tickets/490...

    November 13th, 2009 @ 03:32 AM

  5. qoobaa
    qoobaa

    I think someone has already solved this problem without closing ticket.

    May 9th, 2010 @ 10:05 PM

  6. Andrea Campi
    Andrea Campi
    • Tag changed from 1.9, 1.9.1, 2-3-stable, 2.3, 2.3.4, actioncontroller, action_controller, action_pack, integration, integration_test, patch, patched, ruby1.9, ruby19 to 1.9, 1.9.1, 2-3-stable, 2.3, 2.3.4, actioncontroller, action_controller, action_pack, integration, integration_test, patch, ruby1.9, ruby19
    • Importance changed from to

    bulk tags cleanup

    October 11th, 2010 @ 07:24 AM

  7. Piotr Sarnacki
    Piotr Sarnacki
    • State changed from new to resolved

    December 15th, 2010 @ 08:53 AM