diff options
-rwxr-xr-x | Bug.pm | 2 | ||||
-rwxr-xr-x | Bugzilla/Bug.pm | 2 | ||||
-rwxr-xr-x | xml.cgi | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -325,7 +325,7 @@ sub XML_Header { my ($urlbase, $version, $maintainer, $exporter) = (@_); my $xml; - $xml = "<?xml version=\"1.0\" standalone=\"no\"?>\n"; + $xml = "<?xml version=\"1.0\" standalone=\"yes\"?>\n"; $xml .= "<!DOCTYPE bugzilla SYSTEM \"$urlbase"; if (! ($urlbase =~ /.+\/$/)) { $xml .= "/"; diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 5ae83d295..7ac2bd101 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -325,7 +325,7 @@ sub XML_Header { my ($urlbase, $version, $maintainer, $exporter) = (@_); my $xml; - $xml = "<?xml version=\"1.0\" standalone=\"no\"?>\n"; + $xml = "<?xml version=\"1.0\" standalone=\"yes\"?>\n"; $xml .= "<!DOCTYPE bugzilla SYSTEM \"$urlbase"; if (! ($urlbase =~ /.+\/$/)) { $xml .= "/"; @@ -45,7 +45,7 @@ my $exporter = $::COOKIE{"Bugzilla_login"} || undef; my @ids = split (/[, ]+/, $::FORM{'id'}); -print "Content-type: text/plain\n\n"; +print "Content-type: text/xml\n\n"; print Bug::XML_Header(Param("urlbase"), $::param{'version'}, Param("maintainer"), $exporter); foreach my $id (@ids) { |