Since your escaping every object in your view, this can quickly get
out of hand and cause a significant performance degradation.

I would suggesting something like: http://pecl.php.net/package/filter
And filter things that you know need it.

-myke

On 8/1/07, Hadrien Boyé <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> my main concern is about protecting my application from XSS attacks and
> keeping it fast and reactive.
>
> as i have just discovered this feature, i wonder how HTML escaping
> strategies affects runtime performances in symfony ? it seems that any
> parameter in the $sfData object is converted to a specific "escaping"
> object, i wonder how much time this escaping process takes...
>
> .settings:
>    escaping_strategy:      both
>    escaping_method:       ESC_ENTITIES
>
>
>
>  >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to