Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #8731 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

CgiRequest.query_string() is broken

Reported by: lifofifo Assigned to: core
Priority: normal Milestone:
Component: ActionPack Version: edge
Severity: normal Keywords:
Cc:

Description

request.query_string returns REQUEST_URI if query string is empty. It should return empty string instead. This is because of Changeset 6764

I've attached a tiny lil patch.

Thanks.

Attachments

fix_query_string.patch (387 bytes) - added by lifofifo on 06/22/07 23:36:21.
Fix request.query_string when query string is empty

Change History

06/22/07 23:36:21 changed by lifofifo

  • attachment fix_query_string.patch added.

Fix request.query_string when query string is empty

06/23/07 00:13:44 changed by bitsweat

  • status changed from new to closed.
  • resolution set to fixed.

(In [7084]) Don't mistakenly interpret the request uri as the query string. Closes #8731.