Re: Gitweb 1.7.5 and Textconv Configuration
- From
Jeff King <peff@peff.net>
- Date
- Jul 2, 2011, 10:44 UTC
- Message-ID
- <20110702104437.GA10538@sigill.intra.peff.net>
- In-Reply-To
- <20110702104313.GA10245@sigill.intra.peff.net>
On Sat, Jul 02, 2011 at 06:43:13AM -0400, Jeff King wrote:
Show 7 quoted lines
> The default gitweb configuration doesn't allow textconv (or external > diff) for security reasons; it would mean repo owners could execute > arbitrary commands as the gitweb user. > > If that's OK for your site, you can probably enable it with: > > push @diff_opts, '--allow-textconv';
Oops, this option is just called "--textconv". I got it confused with the flag in the code, which is ALLOW_TEXTCONV.
-Peff