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
c84c1809
Commit
c84c1809
authored
Oct 07, 2002
by
gerv%gerv.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 172740 - "use of uninitialized variable" warnings. Patch by gerv; r=bbaetz.
parent
b8851cdd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
buglist.cgi
buglist.cgi
+1
-1
globals.pl
globals.pl
+1
-0
No files found.
buglist.cgi
View file @
c84c1809
...
@@ -83,7 +83,7 @@ else {
...
@@ -83,7 +83,7 @@ else {
}
}
# Hack to support legacy applications that think the RDF ctype is at format=rdf.
# Hack to support legacy applications that think the RDF ctype is at format=rdf.
if
(
$::FORM
{
'format'
}
eq
"rdf"
&&
!
$::FORM
{
'ctype'
})
{
if
(
$::FORM
{
'format'
}
&&
$::FORM
{
'format'
}
eq
"rdf"
&&
!
$::FORM
{
'ctype'
})
{
$::FORM
{
'ctype'
}
=
"rdf"
;
$::FORM
{
'ctype'
}
=
"rdf"
;
delete
(
$::FORM
{
'format'
});
delete
(
$::FORM
{
'format'
});
}
}
...
...
globals.pl
View file @
c84c1809
...
@@ -1631,6 +1631,7 @@ sub GetFormat {
...
@@ -1631,6 +1631,7 @@ sub GetFormat {
my
(
$template
,
$format
,
$ctype
)
=
@_
;
my
(
$template
,
$format
,
$ctype
)
=
@_
;
$ctype
||=
"html"
;
$ctype
||=
"html"
;
$format
||=
""
;
# Security - allow letters and a hyphen only
# Security - allow letters and a hyphen only
$ctype
=~
s/[^a-zA-Z\-]//g
;
$ctype
=~
s/[^a-zA-Z\-]//g
;
...
...
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