Sanitize anything naughty in the input.