CGI interview question

A problem that I had fixed recently