Sanitizing too harshly, or the way Sanitize was used in general, was 
usually a bad way of doing things.
See https://github.com/cakephp/docs/pull/688/files for details
Basically, you just need to always use h() in your output and you got 
everything you need.

ConsoleShell does not need a replacement. Its kinda silly to use it when 
you can have a whole PHPUnit test suite at your disposal.
Just write a simple test. Even if its just temporary. But if it's not this 
will also save you the trouble from retyping it again and again.
It was an overhead to maintain this shell as nobody really ever uses it.



Am Dienstag, 13. August 2013 12:31:45 UTC+2 schrieb Jason Bramley:
>
> Hi,
>
> I see from the 2.4.0-rc1 release notes that these two items are deprecated 
> and will be removed in 3.x
>
> Two questions come to mind:
>
> 1) Why?
> 2) What are the recommended replacements?
>
> Thanks
> Jason
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to