Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
48fcdfb5
Commit
48fcdfb5
authored
Apr 27, 2002
by
bbaetz%student.usyd.edu.au
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 105960 - xml.cgi has wrong content type, and should be standalone
r=caillon x2
parent
8d978650
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
Bug.pm
Bug.pm
+1
-1
Bug.pm
Bugzilla/Bug.pm
+1
-1
xml.cgi
xml.cgi
+1
-1
No files found.
Bug.pm
View file @
48fcdfb5
...
...
@@ -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
.=
"/"
;
...
...
Bugzilla/Bug.pm
View file @
48fcdfb5
...
...
@@ -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
.=
"/"
;
...
...
xml.cgi
View file @
48fcdfb5
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment