On Tue, 12 Jan 2010, Kim Holviala wrote:<br><br>&gt; Almost worked with kgopherd.... I wasn&#39;t giving the arguments in argv[] but<br>&gt; in $QUERY_STRING like in CGI&#39;s. And I&#39;m not sure if I&#39;m comfortable with   <br>
&gt; calling binaries using arguments gotten from the internets...<br>&gt; <br>&gt; Need to think about it before I implement argv[] support.<br>  <br>Kim,<br>Thanks for giving it a try.  I understand the security concerns which is  <br>
why germ voids it&#39;s $ENV{PATH} variable and doesn&#39;t allow user or group id<br>to be changed, and doesn&#39;t call any external programs, etc.  But of <br>course, not every script will take the proper precautions (and I may not  <br>
have even taken _all_ the precautions I should have, just the ones I knew<br>to take.)<br><br>Bucktooth allows arguments to be passed straight to the script, so I<br>used that because it was simple.  However, it also passes executables an<br>
environmental variable &quot;SELECTOR&quot; which, with a little more parsing,<br>could be used the same as argv[].  If you pass me along some references   <br>for how kgopherd handles CGI, I can try to make germ more friendly to your<br>
server.  If kgopherd is roughly CGI compliant, I could just refer to that<br>standard, I suppose.<br><br>My goal is to make germ as server independent as possible.<br><br>Thanks,<br>Wesley<br><br>