1 Subject: [PATCH] gitweb: avoid stale variable contents
3 When gitweb is running in an optimized CGI processing mode
4 (mod_perl, FCGI, PSGI, etc.), multiple requests are served
5 by the same invocation of gitweb.cgi.
7 It is crucial for proper operation that remnants from the
8 previous request are not allowed to taint subsequent requests.
10 In particular, there are a number of "our" variables that
11 need to be expliictly cleared in order to prevent this from
12 happening and possibly corrupting subsequent requests.
14 The snapshot action is particularly susceptible to corruption
15 without these precautions.
17 Signed-off-by: Kyle J. McKay <mackyle@gmail.com>