What is Sanitization? Is angular supports it?

Posted by Jessica Taylor | Updated on

Sanitization┬áis the inspection of an untrusted value, turning it into a value that’s safe to insert into the DOM. Yes, Angular suppports sanitization. It sanitizes untrusted values for HTML, styles, and URLs but sanitizing resource URLs isn’t possible because they contain arbitrary code.

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers