rpms/w3c-markup-validator/F-9 w3c-markup-validator-0.8.3-errlog-trash.patch, NONE, 1.1 w3c-markup-validator.spec, 1.20, 1.21
Ville Skyttä
scop at fedoraproject.org
Thu Sep 11 18:51:43 UTC 2008
Author: scop
Update of /cvs/pkgs/rpms/w3c-markup-validator/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10970/F-9
Modified Files:
w3c-markup-validator.spec
Added Files:
w3c-markup-validator-0.8.3-errlog-trash.patch
Log Message:
* Thu Sep 11 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.8.3-2
- Upstream fix for server error log trashing.
w3c-markup-validator-0.8.3-errlog-trash.patch:
--- NEW FILE w3c-markup-validator-0.8.3-errlog-trash.patch ---
diff -u -r1.591 -r1.592
--- httpd/cgi-bin/check 14 Jul 2008 03:15:25 -0000 1.591
+++ httpd/cgi-bin/check 14 Aug 2008 18:04:34 -0000 1.592
@@ -624,14 +624,14 @@
# Always transcode, even if the content claims to be UTF-8
$File = transcode($File);
-if (($File->{ContentType} == "text/html") and ($File->{Charset}->{Default}) and $File->{'Error Flagged'}) {
+if (($File->{ContentType} eq "text/html") and ($File->{Charset}->{Default}) and $File->{'Error Flagged'}) {
$File->{'Error Flagged'} = FALSE; # reset
# we try again, this time with win-1252
$File->{Charset}->{Use} = 'windows-1252';
&add_warning('W04', {W04_charset => "windows-1252", W04_also_tried=> "UTF-8"});
$File = transcode($File);
}
-if (($File->{ContentType} == "text/html") and ($File->{Charset}->{Default}) and $File->{'Error Flagged'}) {
+if (($File->{ContentType} eq "text/html") and ($File->{Charset}->{Default}) and $File->{'Error Flagged'}) {
$File->{'Error Flagged'} = FALSE; # reset
# we try again, this time with latin1...
$File->{Charset}->{Use} = 'iso-8859-1';
Index: w3c-markup-validator.spec
===================================================================
RCS file: /cvs/pkgs/rpms/w3c-markup-validator/F-9/w3c-markup-validator.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- w3c-markup-validator.spec 12 Aug 2008 06:30:25 -0000 1.20
+++ w3c-markup-validator.spec 11 Sep 2008 18:51:13 -0000 1.21
@@ -2,7 +2,7 @@
Name: w3c-markup-validator
Version: 0.8.3
-Release: 1
+Release: 2
Summary: W3C Markup Validator
Group: Applications/Internet
@@ -16,6 +16,7 @@
Patch3: %{name}-0.8.2-xhtml1.patch
Patch4: %{name}-0.8.1-extra-encoders.patch
Patch5: %{name}-0.8.3-htmli18n.patch
+Patch6: %{name}-0.8.3-errlog-trash.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -51,6 +52,7 @@
%patch3 -p2
%patch4 -p1
%patch5 -p0
+%patch6 -p0
find . -name "*.orig" -print0 | xargs -0 rm
# Localize configs.
@@ -134,6 +136,9 @@
%changelog
+* Thu Sep 11 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.8.3-2
+- Upstream fix for server error log trashing.
+
* Tue Aug 12 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.8.3-1
- 0.8.3 + upstream types.conf fix; missing form enctype patch applied upstream.
- Drop disttag.
More information about the fedora-extras-commits
mailing list