disable recursion with a -
[tridge/junkcode.git] / tserver / cgi.c
index 79a430f03b35025bad22602139a3559baa9fdd4e..c16e0b08bc603f6d6fae1583b533c1182450e5b6 100644 (file)
@@ -381,7 +381,7 @@ static void download(struct cgi_state *cgi, const char *path)
        mtype = cgi->http_header(cgi, path);
 
        if (mtype == MIME_TYPE_TEXT_HTML) {
-               cgi->tmpl->process(cgi->tmpl, path);
+               cgi->tmpl->process(cgi->tmpl, path, 1);
                return;
        }