Changed all wrbuf_printf statements involving strings, like
authorMarc Cromme <marc@indexdata.dk>
Tue, 5 Jun 2007 13:36:40 +0000 (13:36 +0000)
committerMarc Cromme <marc@indexdata.dk>
Tue, 5 Jun 2007 13:36:40 +0000 (13:36 +0000)
commitc960335069adabbefef43989d28594ce69cc457f
treeba8d5ba82cb84111d8acaa2663f8e50b031a3046
parent267dbda05ca1059daec5fb5837a952313ac00aa3
Changed all wrbuf_printf statements involving strings, like
wrbuf_printf(wrbuf, "<id>%s</id>\n", ht[i].id);
to the save XML entity-encoded form using wrbuf_xmlputs(..).

Left all  wrbuf_printf statements involving integers as they are, for example
wrbuf_printf(c->wrbuf, "<hits>%d</hits>\n", stat.num_hits);
as these can not go wrong with the 5 XML entities.

Tested, and working, Bug #1163 closed.
src/http_command.c