danf: curl-www/auto log.cgi,1.18,1.19
| Newsgroups | gmane.comp.web.curl.www.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/curl/curl-www/auto
In directory labb:/tmp/cvs-serv15511
Modified Files:
log.cgi
Log Message:
HTML escape the warning lines, too.
Index: log.cgi
===================================================================
RCS file: /cvsroot/curl/curl-www/auto/log.cgi,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- log.cgi 5 May 2005 19:19:57 -0000 1.18
+++ log.cgi 19 May 2006 21:01:09 -0000 1.19
@@ -72,7 +72,7 @@
chomp;
if(checkwarn($_) || ($_ =~ /FAILED/)) {
$num++;
- push @out, "<a name=\"prob$num\"></a><div class=\"warning\">$_</div>\n";
+ push @out, "<a name=\"prob$num\"></a><div class=\"warning\">" . CGI::escapeHTML($_) . "</div>\n";
}
else {
push @out, CGI::escapeHTML($_) . "<br>\n";