Index: htdig/htsearch/htsearch.cc diff -c htdig/htsearch/htsearch.cc:1.54.2.21 htdig/htsearch/htsearch.cc:1.54.2.22 *** htdig/htsearch/htsearch.cc:1.54.2.21 Wed Jul 11 12:33:26 2001 --- htdig/htsearch/htsearch.cc Sat Sep 8 20:24:37 2001 *************** *** 11,17 **** // or the GNU Public License version 2 or later // // ! // $Id: htsearch.cc,v 1.54.2.21 2001/07/11 19:33:26 grdetil Exp $ // #ifdef HAVE_CONFIG_H --- 11,17 ---- // or the GNU Public License version 2 or later // // ! // $Id: htsearch.cc,v 1.54.2.22 2001/09/09 03:24:37 ghutchis Exp $ // #ifdef HAVE_CONFIG_H *************** *** 93,100 **** switch (c) { case 'c': ! configFile = optarg; ! override_config=1; break; case 'v': debug++; --- 93,109 ---- switch (c) { case 'c': ! // The default is obviously to do this securely ! // but if people want to shoot themselves in the foot... ! #ifndef ALLOW_INSECURE_CGI_CONFIG ! if (!getenv("REQUEST_METHOD")) ! { ! #endif ! configFile = optarg; ! override_config=1; ! #ifndef ALLOW_INSECURE_CGI_CONFIG ! } ! #endif break; case 'v': debug++;