- From: Bjoern Hoehrmann via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 10 Sep 2005 10:01:18 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv20431
Modified Files:
check
Log Message:
templates already take care of escaping
Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.449
retrieving revision 1.450
diff -u -d -r1.449 -r1.450
--- check 10 Sep 2005 09:37:28 -0000 1.449
+++ check 10 Sep 2005 10:01:16 -0000 1.450
@@ -1539,31 +1539,25 @@
$File->{Tentative} |= T_WARN;
}
- my $cs_use = $File->{Charset}->{Use} ? &ent($File->{Charset}->{Use}) : '';
- my $cs_opt = $File->{Opt}->{Charset} ? &ent($File->{Opt}->{Charset}) : '';
- my $cs_http = $File->{Charset}->{HTTP} ? &ent($File->{Charset}->{HTTP}) : '';
- my $cs_xml = $File->{Charset}->{XML} ? &ent($File->{Charset}->{XML}) : '';
- my $cs_meta = $File->{Charset}->{META} ? &ent($File->{Charset}->{META}) : '';
-
#
# Add a warning if there was charset info conflict (HTTP header,
# XML declaration, or <meta> element).
if (charset_not_equal($File->{Charset}->{HTTP}, $File->{Charset}->{XML})) {
&add_warning('W18', {
- W18_http => $cs_http,
- W18_xml => $cs_xml,
- W18_use => $cs_use,
+ W18_http => $File->{Charset}->{HTTP},
+ W18_xml => $File->{Charset}->{XML},
+ W18_use => $File->{Charset}->{Use},
});
} elsif (charset_not_equal($File->{Charset}->{HTTP}, $File->{Charset}->{META})) {
&add_warning('W19', {
- W19_http => $cs_http,
- W19_meta => $cs_meta,
- W19_use => $cs_use,
+ W19_http => $File->{Charset}->{HTTP},
+ W19_meta => $File->{Charset}->{META},
+ W19_use => $File->{Charset}->{Use},
});
} elsif (charset_not_equal($File->{Charset}->{XML}, $File->{Charset}->{META})) {
&add_warning('W20', {
- W20_http => $cs_xml,
- W20_xml => $cs_meta,
+ W20_http => $File->{Charset}->{XML},
+ W20_xml => $File->{Charset}->{META},
});
$File->{Tentative} |= T_WARN;
}
Received on Saturday, 10 September 2005 10:01:31 UTC