Tuesday, December 14, 2010

Re: Why Sanitize::stripTags not working in controller index() function;

sure^^ but based on the skill of this developer i guessed that he
wanted to secure the result
and thats not done by stripping tags

either way his code is so bad/unclear that we cannot be sure of what
he wants to achieve


On 14 Dez., 22:57, Ryan Schmidt <google-2...@ryandesign.com> wrote:
> On Dec 14, 2010, at 09:09, euromark wrote:
>
> > what you need is h() - in the view templates:
> > <?php echo h($var); ?>
>
> > thats all you need to escape and secure your views.
>
> Yeah but that doesn't accomplish his stated goal: to remove the div tags that are in the RSS data he's receiving:
>
>
>
>
>
>
>
> > From: Lord_JABA [mailto:lordj...@gmail.com]
> > Sent: December-13-10 5:48 PM
> > To: CakePHP
> > Subject: Why Sanitize::stripTags not working in controller index() function;
>
> > I want to get rid of div tags in data from rss just before i send it
> > to view.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate