Sanitize cgi data