Sanitize user input: Difference between revisions
no edit summary
(removed "task") |
Puppydrum64 (talk | contribs) No edit summary |
||
Line 5:
;Task:
Create a function that takes a list of 20 first and last names, and copies them to a record or struct.
* ASCII control codes such as NUL, CR, LF
* Code for the language you are using that can result in damage (e.g. -rm -rf, delete System32, DROP TABLE, etc.)
* Numbers, symbols, foreign languages, emojis, etc.
(There were already solutions provided before the requirement that ten names are "normal" and ten are potentially harmful was added. Those answers satisfied the task requirements at the time they were submitted.)
;Related tasks
|