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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
5a38e63e
Commit
5a38e63e
authored
Feb 27, 2001
by
cyeh%bluemartini.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for 47726: Doesn't display properly in IE5.5 because bug url & are not encoded
patch submitted by rufus@nonstuff.de (Rufus) call QuoteXMLChars on bug_file_loc and attachment desc
parent
809e555b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Bug.pm
Bug.pm
+2
-2
Bug.pm
Bugzilla/Bug.pm
+2
-2
No files found.
Bug.pm
View file @
5a38e63e
...
...
@@ -261,7 +261,7 @@ sub emitXML {
"creation_ts"
,
"qa_contact"
,
"op_sys"
,
"resolution"
,
"bug_file_loc"
,
"short_desc"
,
"keywords"
,
"status_whiteboard"
)
{
if
(
$self
->
{
$field
})
{
$xml
.=
" <$field>"
.
$self
->
{
$field
}
.
"</$field>\n"
;
$xml
.=
" <$field>"
.
QuoteXMLChars
(
$self
->
{
$field
})
.
"</$field>\n"
;
}
}
...
...
@@ -292,7 +292,7 @@ sub emitXML {
$xml
.=
" <attachid>"
.
$self
->
{
'attachments'
}[
$i
]
->
{
'attachid'
}
.
"</attachid>\n"
;
$xml
.=
" <date>"
.
$self
->
{
'attachments'
}[
$i
]
->
{
'date'
}
.
"</date>\n"
;
$xml
.=
" <desc>"
.
$self
->
{
'attachments'
}[
$i
]
->
{
'desc'
}
.
"</desc>\n"
;
$xml
.=
" <desc>"
.
QuoteXMLChars
(
$self
->
{
'attachments'
}[
$i
]
->
{
'desc'
})
.
"</desc>\n"
;
# $xml .= " <type>" . $self->{'attachments'}[$i]->{'type'} . "</type>\n";
# $xml .= " <data>" . $self->{'attachments'}[$i]->{'data'} . "</data>\n";
$xml
.=
" </attachment>\n"
;
...
...
Bugzilla/Bug.pm
View file @
5a38e63e
...
...
@@ -261,7 +261,7 @@ sub emitXML {
"creation_ts"
,
"qa_contact"
,
"op_sys"
,
"resolution"
,
"bug_file_loc"
,
"short_desc"
,
"keywords"
,
"status_whiteboard"
)
{
if
(
$self
->
{
$field
})
{
$xml
.=
" <$field>"
.
$self
->
{
$field
}
.
"</$field>\n"
;
$xml
.=
" <$field>"
.
QuoteXMLChars
(
$self
->
{
$field
})
.
"</$field>\n"
;
}
}
...
...
@@ -292,7 +292,7 @@ sub emitXML {
$xml
.=
" <attachid>"
.
$self
->
{
'attachments'
}[
$i
]
->
{
'attachid'
}
.
"</attachid>\n"
;
$xml
.=
" <date>"
.
$self
->
{
'attachments'
}[
$i
]
->
{
'date'
}
.
"</date>\n"
;
$xml
.=
" <desc>"
.
$self
->
{
'attachments'
}[
$i
]
->
{
'desc'
}
.
"</desc>\n"
;
$xml
.=
" <desc>"
.
QuoteXMLChars
(
$self
->
{
'attachments'
}[
$i
]
->
{
'desc'
})
.
"</desc>\n"
;
# $xml .= " <type>" . $self->{'attachments'}[$i]->{'type'} . "</type>\n";
# $xml .= " <data>" . $self->{'attachments'}[$i]->{'data'} . "</data>\n";
$xml
.=
" </attachment>\n"
;
...
...
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