Hello, I discovered some special chars do my symfony generated rss feed garbled , youpi :(
In my app, an user can post the text he wants then the text appears in a rss feed. The feed seems broken due to a vertical tag character. Actually the app has been migrated from sf1.0 to 1.1 I tried to set a sfForm and use $myForm->getValue('my_field') to have cleaned value when user post. But "VT" can still be posted. I also tried to edit settings.yml and set : escaping_strategy: on escaping_method: ESC_SPECIALCHARS # or ESC_RAW But the result don't works as expected: no changes on saving or on displaying feed. The only way I found for now is to use the str_replace function : $sanitized = str_replace("\v", '', $my_field); Quite ugly, isn't it?! Well I would like to know if there's a better way to really sanitize my values before save in database or displaying it? Thanks in advanced. Regards, David. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---