$sf_data->getRaw("person[description]");
also doesn't work - strange...Do You use symfony 1.2.9 ?? On 18 Paź, 15:41, Gábor Fási <[email protected]> wrote: > Just a hinch: have you tried `$sf_data->getRaw("person[description]");` ? > Also, you may try to var_dump $sf_data, might give you some more info > about accessing the variables, if my hinch doesn't work out. > Never used getRaw(), I alway echo data from propel, and use something > like `$object->getBody(ESC_RAW);` > > On Sun, Oct 18, 2009 at 14:48, mini_alexander <[email protected]> wrote: > > > I have tried: > > echo $sf_data->getRaw('description'); > > and > > echo $sf_data->getRaw($person['description']); > > > and still the same error - maybe this is some bug in symfony 1.2.9 ? > > > On 18 Paź, 14:04, Tom Boutell <[email protected]> wrote: > >> Mini, Gabor used "test" as an example, use your field name (description). > > >> As Mini pointed out you need to filter the content to remove > >> JavaScript, XSS attacks, bad CSS that trashes the layout of the page, > >> etc. (unless the only person entering it is trusted, and maybe even > >> then to cut down on tedious support calls). > > >> For that purpose, check out pkToolkitPlugin and the pkHtml::simplify() > >> method, which is designed expressly for the purpose of reducing > >> user-entered HTML to something sane and safe. > > >> -- > >> Tom Boutell > >> P'unk Avenue215 755 1330 > >> punkave.com > >> window.punkave.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
