From d2790fc977dce7773b896b6f02941d13da336531 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 12 Sep 2016 00:06:20 +0000 Subject: use the proper HTML escape for double quote ("): " not "e; patch from bentley@ --- cgi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cgi.c') diff --git a/cgi.c b/cgi.c index de8a8d4e..30a0ea43 100644 --- a/cgi.c +++ b/cgi.c @@ -1,4 +1,4 @@ -/* $Id: cgi.c,v 1.140 2016/09/03 21:24:56 schwarze Exp $ */ +/* $Id: cgi.c,v 1.141 2016/09/12 00:06:20 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons * Copyright (c) 2014, 2015, 2016 Ingo Schwarze @@ -138,7 +138,7 @@ html_putchar(char c) switch (c) { case ('"'): - printf(""e;"); + printf("""); break; case ('&'): printf("&"); -- cgit v1.2.3-56-ge451