|
|
|
|
|
by evilDagmar
1329 days ago
|
|
I've always found it more useful to just discard user input that doesn't come in the format you're asking for, and bail on the entire operation. Like, if the user might be attempting something fishy, there's no reason to try and "clean it up" and have your program "do it's best" with the remainder. Throw an error back at the user and move on to the next query. |
|
Server: HTTP/403, begone with you, foul SQL-injecting hacker!