in reply to Re: Form, Input, Taint related
in thread Form, Input, Taint related
CGI.pm is probably the best way to get at the form data, especially if you're new to perl and/or CGI programming.
That being said, I don't like CGI.pm because it does too much work -- it both handles receiving input, and creating HTML through a whole bunch of functions that pollute your namespace. I don't like that DISABLE_UPLOADS and POST_MAX aren't set by default, and the note that they're a security risk is buried in the documentation. (see Ovid's CGI::Safe)
I wish that Lincoln Stein would split up the HTML generating bits, and the CGI handling into seperate modules, so that I could just load the part that I want to use, without needing to resort to other modules (CGI::Lite, CGI::Base, etc.) or hacking at it myself and keeping it in sync with updates.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Form, Input, Taint related
by Anonymous Monk on Apr 15, 2005 at 17:49 UTC | |
by merlyn (Sage) on Apr 15, 2005 at 20:48 UTC | |
by jhourcle (Prior) on Apr 15, 2005 at 22:03 UTC |