Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The article tell us that input validation is okay but argues against input sanitization. I.e., if there is obvious garbage in the input tell the user that the input is wrong and don't store it and also do not try to correct it. That seems good advice in most cases. Your example of point less spaces is good though. I think it is generally a good idea to remove those.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: