filmov
tv
Every #Java programmer should know #String contain html or not #coding #springboot #html #XSS

Показать описание
This video dives into the Spring Framework's HtmlUtils class and its htmlEscape(String input) method. This method is crucial for preventing Cross-Site Scripting (XSS) attacks by escaping characters that hold special meaning in HTML. We'll explore how htmlEscape works and even build a separate method to check if a String is potentially dangerous HTML (though determining pure HTML can be more involved).