[Zope] newbie CGI question

Itamar Shtull-Trauring itamars@ibm.net
Wed, 22 Mar 2000 17:13:53 +0200


Tres Seaver wrote:

> To call it from DTML, passing the current values of 'foo' and 'bar'::
> 
>    <dtml-let cmdLine="'/path/to/my/cgi %s %s' % ( foo, bar )">
>      <dtml-var "ExecCGI( cmdLine )">
>    </dtml-let>

but be careful, since this is a security hole.  the executed command line
should be hardcoded.

-- 
Itamar S.T.  itamars@ibm.net