Skip to content

VirtualSoda369/validate_user_input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alt text

The image is from the painter John Atkinson Grimshaw and is called Shipping on the Clyde. year 1881 Oil on cardboard. 30.5 x 51 cm

This will be a brief post about data validation.

alt text

If you wanna know more about XSS check THIS

alt text

alt text

alt text

If you wanna know more about HTML injection chech THIS

alt text

check THIS LINK to know more about why this works and THIS LINK for a semi related info

alt text

And thats it, a basic implementation to validate user input. You can continue modiying this code, but if you have to validate a lot of data, I recommend using known and tested libaries such as Validate.js or Validator.js

Thanks for reading!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published