tainted data in ruby must be explicitly untainted before use. the discovered vulnerabilities are
ruby中的污染数据(tainted data)在使用前必须显式的凈化。
this piece of code takes up tainted data from the user, ensuring protection as it checks that the characters to be printed are only alphanumeric characters and spaces.