Better sanitization of upload option.