This project is archived and is in readonly mode.

#1767 ✓resolved
Sam Pohlenz

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

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

Pages