[Nitro] [PATCH] Separate get_params and post_params

Noé Rubinstein noe.rubinstein at gmail.com
Sun Dec 17 05:01:07 EST 2006


Same but with post precedence other get to prevent from hacking. (thanks manv)

2006/12/17, George Moschovitis <george.moschovitis at gmail.com>:
> Interesting,
>
> I will have a look at this...
>
> -g.
>
> On 12/17/06, Noé Rubinstein <noe.rubinstein at gmail.com> wrote:
> > This patch separates GET params and POST params.
> > request.post_params # now returns POST params
> > request.get_params # now returns GET params
> > request.params # Compatibility method returning the result of
> > post_params.merge(get_params)
> > _______________________________________________
> > Nitro-general mailing list
> > Nitro-general at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/nitro-general
> >
>
>
> --
> http://blog.gmosx.com
> http://cull.gr
> http://www.joy.gr
> http://nitroproject.org
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: post_precedence_over_get.bz2
Type: application/x-bzip2
Size: 2704 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061217/639ac75e/attachment.bz2 


More information about the Nitro-general mailing list