Input Validation — Implementing Robust Whitelisting and Type Checking

Medium GIAC GWEB cybersecurity drill: You are a Web Application Security Engineer at Apex Defense. During a code review of the new 'Patient Search'