in reply to (Ovid) RE(2): getting a cgi script working
in thread getting a cgi script working
I've just taken a closer look at this course and would like to add another problem to Ovid's list.
The CGI parameter parsing routine contains the same bug that I have been banging on about on numerous nodes here. In short, it breaks when given a CGI query string that looks like:
key1=val1&key2=val2a&key2=val2b
According to the CGI specs, this is completely valid and both values for the key 'key2' need to be accounted for. The code given in the CGI101 course overwrites the first value with the second.
Looks like this course should be avoided.
--
|
|---|