Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2225
HTML encoding model data
posted

Using MVC3, Razor, C#, IE8.

In order to protect against XSS, it's necessary to encode my model data before rendering it to the browser. The default Html.EditorFor is encoding the data that is sent to the view. However, the infragistics editors are not. Is there a property that needs to be set?

What is the preferred way of html encoding on an infragistics editor?

Thanks.
Tony

Parents
  • 29417
    Offline posted

    Hello Anthony,

     

    I apologize about the delayed response.

     

    I’m currently looking into this. I’ll contact you  by tomorrow with what I’ve found out.

    Thank you for your patience.

     

    Best Regards,

    Maya Kirova

    Developer Support Engineer

    Infragistics, Inc.

    http://es.infragistics.com/support

     

Reply Children