1.

What Is The Function Of Escape?

Answer»

It gets the current VALUE of an attribute from the model but returns the HTML-escaped VERSION of a model’s attribute. It is helpful in PREVENTING XSS attacks, if you are INTERPOLATING data from the model into HTML.

It gets the current value of an attribute from the model but returns the HTML-escaped version of a model’s attribute. It is helpful in preventing XSS attacks, if you are interpolating data from the model into HTML.



Discussion

No Comment Found