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
b20d2a92
Commit
b20d2a92
authored
Apr 28, 1999
by
terry%netscape.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added links to "a duplicate of" bug ids.
parent
d40d73c9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
bug_form.pl
bug_form.pl
+8
-1
No files found.
bug_form.pl
View file @
b20d2a92
...
...
@@ -33,6 +33,8 @@ sub quoteUrls {
my
$text
=
shift
;
# Take a copy; don't modify in-place.
return
$text
unless
$text
;
my
$base
=
Param
(
'urlbase'
);
my
$protocol
=
join
'|'
,
qw(afs cid ftp gopher http https mid news nntp prospero telnet wais)
;
...
...
@@ -71,10 +73,15 @@ sub quoteUrls {
my
$num
=
$2
;
$item
=
value_quote
(
$item
);
# Not really necessary, since we know
# there's no special chars in it.
my
$base
=
Param
(
'urlbase'
);
$item
=
qq{<A HREF="${base}show_bug.cgi?id=$num">$item</A>}
;
$things
[
$count
++
]
=
$item
;
}
while
(
$text
=~
s/\*\*\* This bug has been marked as a duplicate of (\d+) \*\*\*/"##$count##"/ei
)
{
my
$item
=
$&
;
my
$num
=
$1
;
$item
=~
s@\d+@<A HREF="${base}show_bug.cgi?id=$num">$num</A>@
;
$things
[
$count
++
]
=
$item
;
}
while
(
$text
=~
s/Created an attachment \(id=(\d+)\)/"##$count##"/e
)
{
my
$item
=
$&
;
my
$num
=
$1
;
...
...
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