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
The function sanitizeInput.js needs to be built out to protect from XSS attacks prior to the information is added to the database. The client should be able to pull from the database with full confidence that the input is escaped and sanitized.
If the the body received in the function is an empty string OR after sanitizing is an empty string, throw an error and do not add it to the database.
The text was updated successfully, but these errors were encountered:
The function sanitizeInput.js needs to be built out to protect from XSS attacks prior to the information is added to the database. The client should be able to pull from the database with full confidence that the input is escaped and sanitized.
If the the body received in the function is an empty string OR after sanitizing is an empty string, throw an error and do not add it to the database.
The text was updated successfully, but these errors were encountered: