Commit Briefs
always initialize the template
move the initialization to the proxy creation, and while here move the definition for the functions used by the template to fcgi.c too.
quick and dirty URL rewrite to respect SCRIPT_NAME
it's not really bad however
switch to the escaping function from tmpl.h
it also fixes some issue / limitations of the old htmlescape / printurl.
refactor proxy_read
- avoid the ugly `goto copy' to jump back to the start - avoid leaking memory