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
81094348
Commit
81094348
authored
Nov 10, 2002
by
bugreport%peshkin.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 179264 csv output for the buglist (see url inside) is invalid (too many "s)
r,a=justdave
parent
9a0ca71b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
globals.pl
globals.pl
+3
-6
No files found.
globals.pl
View file @
81094348
...
@@ -1586,15 +1586,12 @@ $::template ||= Template->new(
...
@@ -1586,15 +1586,12 @@ $::template ||= Template->new(
# characters that need encoding.
# characters that need encoding.
url_quote
=>
\&
Bugzilla::Util::
url_quote
,
url_quote
=>
\&
Bugzilla::Util::
url_quote
,
# In CSV, quotes are doubled, and any value containing a quote or a
# In CSV, quotes are doubled, and we enclose the whole value in quotes
# comma is enclosed in quotes.
csv
=>
sub
csv
=>
sub
{
{
my
(
$var
)
=
@_
;
my
(
$var
)
=
@_
;
$var
=~
s/"/""/
;
$var
=~
s/"/""/g
;
if
(
$var
=~
/",/
)
{
$var
=
"\"$var\""
;
$var
=
"\"$var\""
;
}
return
$var
;
return
$var
;
}
,
}
,
}
,
}
,
...
...
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