Welcome Guest, Not a member yet? Register   Sign In
Form Validation and xss_clean
#8

[eluser]Madmartigan1[/eluser]
[quote author="Eric Barnes" date="1293653183"]
* Validate the data to ensure it conforms to the correct type, length, size, etc. (sometimes this step can replace step one)
[/quote]

I think this is exactly what we're talking about. Under what circumstances can step 2 replace step 1?

For instance, if one of the rules is "integer", adding the prep rules "xss_clean" would pointless right? How can an integer be unsafe? Etc...


Messages In This Thread
Form Validation and xss_clean - by El Forum - 12-28-2010, 11:49 AM
Form Validation and xss_clean - by El Forum - 12-28-2010, 12:00 PM
Form Validation and xss_clean - by El Forum - 12-28-2010, 12:03 PM
Form Validation and xss_clean - by El Forum - 12-28-2010, 12:11 PM
Form Validation and xss_clean - by El Forum - 12-28-2010, 12:22 PM
Form Validation and xss_clean - by El Forum - 12-29-2010, 05:49 AM
Form Validation and xss_clean - by El Forum - 12-29-2010, 08:06 AM
Form Validation and xss_clean - by El Forum - 12-29-2010, 08:19 AM
Form Validation and xss_clean - by El Forum - 12-29-2010, 08:25 AM
Form Validation and xss_clean - by El Forum - 12-29-2010, 08:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB