I applied it into current CVS sources with the only one fix:

  search.cgi does not allow to use templates outside /etc
directory of msearch installation to avoid possible security
holes.

  Thanks!

[EMAIL PROTECTED] wrote:
> 
> Attached is a small, very simple patch to search.c that allows you to specify which 
>search template to use at run time by passing in "tmplt=/path/to/template" as a form 
>variable.
> 
> This might make search.cgi a bit more flexible and easier to use, as you wouldn't 
>have to export an environment variable, or rename your binary to use this.
> 
> The patch was made against current CVS sources. Perhaps this could find its way into 
>the main code? Alex?
> 
> -- Dan
> ========================================================================
>    Daniel Hanks - Systems/Database Administrator
>    About Inc., Web Services Division
>    1253 N. Research Way, Suite Q-2500.  Orem, UT 84097
>    ph: 801-437-6023  fax: 801-437-6020  email: [EMAIL PROTECTED]
> ========================================================================
> 
>   ------------------------------------------------------------------------
>                             Name: search_template.patch
>    search_template.patch    Type: Plain Text (TEXT/PLAIN)
>                         Encoding: BASE64
___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to