Actually, this in one of the few hand-rolled CGI parameter parsers I've seen which doesn't break multi-select fields (well, I suppose it might do if the values contained '|' characters - but it's still better than most!)
Your other points are spot on tho.
--In reply to RE: Yet Another Cargo Cult non-use of CGI.pm
by davorg
in thread Upload Security (strip ../, etc.)
by Russ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |