Difference between mongrel and webrick handling request.requ

If I do this GET request:

GET /comments/new?description_id=1 HTTP/1.1

what ends up in request.request_uri is different for mongrel and

Mongrel: “/comments/new”
Webrick: “/comments/new?description_id=1”

The mongrel behaviour breaks my app because I’m storing the uri to
redirect to it later. Mongrel even logs the request as: - [Mon, 17 Jul 2006 13:53:40 GMT] “GET /comments/new HTTP/1.1”

which is clearly wrong and that’s not what was passed to the server as
the request.

Is this a known bug?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs