Re: Perl's exec

2002-05-02 Thread Andrew Pimlott
On Thu, May 02, 2002 at 03:03:54PM +0200, Stefan Hornburg (Racke) wrote: > # Pass parameters to Swish++ search program > open (SEARCH, '-|') > or exec '/usr/bin/search++', '-i', '/var/lib/dhelp/swish++.index', > "$search"; > > >From the Perl documentation it should be safe to pass "unsafe"

Perl's exec

2002-05-02 Thread Stefan Hornburg Racke
This is a fragment of dhelp's dsearch CGI script: # Pass parameters to Swish++ search program open (SEARCH, '-|') or exec '/usr/bin/search++', '-i', '/var/lib/dhelp/swish++.index', "$search"; >From the Perl documentation it should be safe to pass "unsafe" characters in $search (perldoc

Re: Perl's exec

2002-05-02 Thread Andrew Pimlott
On Thu, May 02, 2002 at 03:03:54PM +0200, Stefan Hornburg (Racke) wrote: > # Pass parameters to Swish++ search program > open (SEARCH, '-|') > or exec '/usr/bin/search++', '-i', '/var/lib/dhelp/swish++.index', "$search"; > > >From the Perl documentation it should be safe to pass "unsafe" ch

Perl's exec

2002-05-02 Thread Stefan Hornburg (Racke)
This is a fragment of dhelp's dsearch CGI script: # Pass parameters to Swish++ search program open (SEARCH, '-|') or exec '/usr/bin/search++', '-i', '/var/lib/dhelp/swish++.index', "$search"; >From the Perl documentation it should be safe to pass "unsafe" characters in $search (perldoc