#3 ✓resolved
Matt Todd

Add Support for Nested Params Parsing in Rack::Request

Reported by Matt Todd | December 28th, 2008 @ 07:49 AM | in 1.0

Adding ticket for conversation going on at:

http://groups.google.com/group/r...

The conversation covers numerous topics so this ticket reflects specifically the proposal for parsing nested params.

To clarify, request params, when encoded in application/x-www-form-urlencoded, can be specified simply as a=b&x=y (flat) as well as a[b]=c&a[d]=e (nested) values.

The proposal is to include parsing these nested values into a Hash instead of just including top-level keys as a[b] and a[c] only.

Refer to the RFC for the specification of a query as between the @?@ and the @#@ of the URL:

http://tools.ietf.org/html/rfc39....4

Unfortunately, the RFC does not specify further regarding nested pairs.

Michael Fellinger (manveru) provided this implementation:

http://paste.linuxhelp.tv/pastes...

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Pages