You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because error messages usually contain user input, it would be safer to properly sanitize them to prevent possible XSS attacks, as the error messages are outputted directly as HTML in your Twitter_Form_Decorator_Errors:
This will convert all applicable characters from the error messages to their corresponding HTML entities, and as such offer the desired XSS protection.
The text was updated successfully, but these errors were encountered:
Because error messages usually contain user input, it would be safer to properly sanitize them to prevent possible XSS attacks, as the error messages are outputted directly as HTML in your
Twitter_Form_Decorator_Errors
:One possible way to do this would be by replacing
with
This will convert all applicable characters from the error messages to their corresponding HTML entities, and as such offer the desired XSS protection.
The text was updated successfully, but these errors were encountered: