Changeset: c4adc30959fc for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c4adc30959fc Modified Files: testing/src/difflib.c Branch: Oct2010 Log Message:
Protect output from bogus interpretation as HTML. diffs (12 lines): diff -r d777f72e1c86 -r c4adc30959fc testing/src/difflib.c --- a/testing/src/difflib.c Fri Oct 08 11:35:52 2010 +0200 +++ b/testing/src/difflib.c Fri Oct 08 11:43:23 2010 +0200 @@ -576,7 +576,7 @@ for (i = 0; i < 3 && ok; i++) ok = strchr(ok+1, '@'); if (ok && ok[1] == ' ') - fprintf(html_fp, "<td colspan='7' align='center'>%s</td>\n", ok + 2); + fprintf(html_fp, "<td colspan='7' align='center'>%s</td>\n", HTMLsave(ok + 2)); for (i = 0; i < 5; i++) clr[i] = 0; orn = nrn = 0; _______________________________________________ Checkin-list mailing list Checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list