Require validation for CGI queryfile parameter (#4874).