This project is archived and is in readonly mode.
POST requests broken on Passenger
Reported by Sam Pohlenz | January 15th, 2009 @ 10:59 PM
Given a brand new rails project:
rails viewtest
cd viewtest
rake rails:freeze:edge
rake rails:update:application_controller
script/generate controller test
app/view/test/index.html.erb:
<% form_tag do %>
<%= submit_tag 'Go' %>
<% end %>
Minimal passenger configuration:
<VirtualHost *:80>
ServerName viewtest.local
DocumentRoot "/Users/sam/viewtest/public"
<Directory "/Users/sam/viewtest/public">
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
GET /test
works. Any POST
to
/test
(submitting the form) breaks. development.log
with backtrace is attached. No issues running through script/server
however.
This seems to have been caused by this commit.
Comments and changes to this ticket
-
James Brooks January 15th, 2009 @ 11:23 PM
- I can replicate this given the procedure above with the same error, I am running:
Mac OS X 10.5.5 rails 2.2.2 (though frozen to edge as per procedure) passenger 2.0.6 rack 0.9.1
-
josh January 16th, 2009 @ 03:22 AM
- Milestone cleared.
- State changed from new to open
-
Repository January 17th, 2009 @ 05:10 PM
- State changed from open to resolved
(from [29e7a0242853a5e102b6846b87723fc26a1ffb08]) Ensure any method sent to RewindableIO reads the original IO object [#1767 state:resolved] http://github.com/rails/rails/co...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Referenced by
- 1767 POST requests broken on Passenger (from [29e7a0242853a5e102b6846b87723fc26a1ffb08]) Ensure ...