cake-php
[Arriba] [Todas las Listas]

Re: Es dato sanitization requerido en poner $esto->Modelo->id = $id?

To: cake-php@xxxxxxxxxxxxxxxx
Subject: Re: Es dato sanitization requerido en poner $esto->Modelo->id = $id?
From: Simon Males <sime@xxxxxxxxxxx>
Date: Wed, 12 Jun 2013 14:35:10 +0800
Delivery-date: Wed, 12 Jun 2013 02:35:45 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-beenthere:mime-version:in-reply-to:references:from:date :message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=Erp8rvby670eM19vGP8zU8hb8K5NeByFoTEovxTZtu0=; b=rGrixediFVa3e7+iG1HJ1qoQsTzotprUFm7oQGynaZjhe1ygQaSgkQuCcyTz25i6I7 r90jzGdx9o3CagosH8lQUODiVwjRLm4JXBHvt/Vnx2Ft1siFFtckYX91ta7RLBWQ9+wL QPq2fhhWOauOh0/fLjKxfRwjF77w5ppbrknoF1dCLkGNlz6Om1KUpxkCp1vGztNjNwy/ BhfFz8OvauVSvzcNCQAKLdrXHOfcu1vCcTq/gEVcMFSxtp4M8sGZd3AgB5Pg6T24o5XH JSKnfgCE7cfNXqWcgo8gGUS6bIaO6ot5PQY66zEFhJ2oY3NXuy90QlMibAt3pkdTT2pk d9GQ==
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <5dbea990-0cdf-4092-89f4-d482a4c56261@googlegroups.com>
List-archive: <http://groups.google.com/group/cake-php?hl=en>
List-help: <http://groups.google.com/support/?hl=en>, <mailto:cake-php+help@googlegroups.com>
List-id: <cake-php.googlegroups.com>
List-post: <http://groups.google.com/group/cake-php/post?hl=en>, <mailto:cake-php@googlegroups.com>
List-subscribe: <http://groups.google.com/group/cake-php/subscribe?hl=en>, <mailto:cake-php+subscribe@googlegroups.com>
List-unsubscribe: <http://groups.google.com/group/cake-php/subscribe?hl=en>, <mailto:googlegroups-manage+1003367825667+unsubscribe@googlegroups.com>
Mailing-list: list cake-php@xxxxxxxxxxxxxxxx; contact cake-php+owners@xxxxxxxxxxxxxxxx
References: <5dbea990-0cdf-4092-89f4-d482a4c56261@googlegroups.com>
Reply-to: cake-php@xxxxxxxxxxxxxxxx
Sender: cake-php@xxxxxxxxxxxxxxxx
Pienso que aquello es una llamada justa.


En *Tue, *Jun 11, 2013 en 1:22 AM, John <spiliot@xxxxxxxxx> escribió:

> Dice consigo el $*id de un *url, /acción/de controlador/*id y lo quiere utilizar para
> hacer un $esto->Modelo->*id = $*id.
>
> Lo es seguro de pasarlo cuando está entrando o  necesito llamar *Sanitize::
> limpio primero? El libro menciona que si utilizas el ORM de pastel eres seguro,
> pero no podría seguir el código bastante para descubrir cómo es *sanitized :)
>
> --
> Gustarnos en *FaceBook *https://www.facebook.com/*CakePHP
> nos Encuentra en *Twitter *http://*twitter.*com/*CakePHP
>
> ---
> Recibiste este mensaje porque eres *subscribed al *Google Grupos
> "*CakePHP" grupo.
> A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un
> *email a pastel-*php+unsubscribe@xxxxxxxxxxxxxxxx.
> A correo a este grupo, envía *email a pastel-php@xxxxxxxxxxxxxxxx.
> Visita este grupo en *http://grupos.*google.*com/Pastel/de grupo-*php?*hl=*en.
> Para más opciones, visita *https://grupos.*google.*com/Los Grupos/optan_fuera.
>
>
>



-- 
Hombres de Simon

-- 
Gustarnos en *FaceBook *https://www.facebook.com/*CakePHP
nos Encuentra en *Twitter *http://*twitter.*com/*CakePHP

--- 
Recibiste este mensaje porque eres *subscribed al *Google Grupos "*CakePHP" grupo.
A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un *email a pastel-*php+unsubscribe@xxxxxxxxxxxxxxxx.
A correo a este grupo, envía *email a pastel-php@xxxxxxxxxxxxxxxx.
Visita este grupo en *http://grupos.*google.*com/Pastel/de grupo-*php?*hl=*en.
Para más opciones, visita *https://grupos.*google.*com/Los Grupos/optan_fuera.


I think that is a fair call.


On Tue, Jun 11, 2013 at 1:22 AM, John <spiliot@xxxxxxxxx> wrote:

> Say I get the $id from a url, /controller/action/id and want to use it to
> do a $this->Model->id = $id.
>
> Is it safe to pass it as it's coming in or do I need to call Sanitize::
> clean first? The book mentions that if you use cake's ORM you're safe,
> but I couldn't follow the code enough to find out how it is sanitized :)
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscribe@xxxxxxxxxxxxxxxx.
> To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Simon Males

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


<Anterior por Tema] Tema Actual [Siguiente por Tema>