Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does htsearch no longer recognize the -c option when run from the web server?

0
10 Posted

Why does htsearch no longer recognize the -c option when run from the web server?

0

This was a security hole in 3.1.5 and older, and 3.2.0b3 and older releases of ht://Dig. (See question 2.1.) There’s a compile-time macro you can set in htsearch.cc to disable this security fix, but that’s a bad idea because it reopens the hole. This should only be done as a last recourse, when all other avenues fail. The -c option was only intended for testing htsearch from the command line, and not for use when calling htsearch on the web server. Unfortunately, far too many users have needlessly latched onto this option for CGI scripts.

0

This was a security hole in 3.1.5 and older, and 3.2.0b3 and older releases of ht://Dig. (See question 2.1.) There’s a compile-time macro you can set in htsearch.cc to disable this security fix, but that’s a bad idea because it reopens the hole. This should only be done as a last recourse, when all other avenues fail. The -c option was only intended for testing htsearch from the command line, and not for use when calling htsearch on the web server. Unfortunately, far too many users have needlessly latched onto this option for CGI scripts.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.