Reject invalid characters that might break the webui Javascript