Do input validation on the actual array passed in
Do input validation on the actual array passed in

I was tearing my hair out for a while. If do_input_validation() is passed some array of keys/values that has been assembled elsewhere (not $_POST, $_GET or $_REQUEST superglobals) then it does not work. The code here, for at least the last 7 years, has actually been checking the array keys in the "hard-coded" superglobals. That is a bit surprising, since the array to be checked is passed in as $postdata parameter.
dennypage/pfsense,NewEraCracker/pfsense,ptorsten/pfsense,phil-davis/pfsense,NOYB/pfsense,dennypage/pfsense,pfsense/pfsense,dennypage/pfsense,dennypage/pfsense,phil-davis/pfsense,phil-davis/pfsense,pfsense/pfsense,NOYB/pfsense,phil-davis/pfsense,ptorsten/pfsense,ptorsten/pfsense,NewEraCracker/pfsense,NewEraCracker/pfsense,NOYB/pfsense,NewEraCracker/pfsense,pfsense/pfsense,pfsense/pfsense