summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xBug.pm2
-rwxr-xr-xBugzilla/Bug.pm2
-rwxr-xr-xxml.cgi2
3 files changed, 3 insertions, 3 deletions
diff --git a/Bug.pm b/Bug.pm
index 5ae83d295..7ac2bd101 100755
--- a/Bug.pm
+++ b/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 .= "/";
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 .= "/";
diff --git a/xml.cgi b/xml.cgi
index 8356c3d89..f35a13cd9 100755
--- a/xml.cgi
+++ b/xml.cgi
@@ -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) {