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
415a5d12
Commit
415a5d12
authored
Sep 01, 2001
by
jake%acutex.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 42810 - Bugzilla would choke if your product name contained a ' mark.
Patch by Christian Reis <kiko@async.com.br> r= justdave@syndicomm.com, caillon@returnzero.com
parent
21c2f341
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
globals.pl
globals.pl
+1
-1
query.cgi
query.cgi
+1
-1
No files found.
globals.pl
View file @
415a5d12
...
...
@@ -409,7 +409,7 @@ sub GenerateCode {
$result
=
""
;
foreach
my
$k
(
sort
{
uc
(
$a
)
cmp
uc
(
$b
)}
eval
(
"keys $name"
))
{
$result
.=
GenerateCode
(
"\$"
.
substr
(
$name
,
1
)
.
"{
'"
.
$k
.
"'
}"
);
"{
"
.
PerlQuote
(
$k
)
.
"
}"
);
}
return
$result
;
}
else
{
...
...
query.cgi
View file @
415a5d12
...
...
@@ -347,7 +347,7 @@ sub make_js_array {
foreach
my
$p
(
@prods
)
{
# join each element with a "," case-insensitively alpha sorted
if
(
$data
{
$p
}
)
{
$ret
.=
$arr
.
"[
'$p'
] = ["
;
$ret
.=
$arr
.
"[
"
.
SqlQuote
(
$p
)
.
"
] = ["
;
# the SqlQuote() protects our 's.
my
@tmp
=
map
(
SqlQuote
(
$_
),
@
{
$data
{
$p
}
}
);
# do the join on a sorted, quoted list
...
...
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