summaryrefslogtreecommitdiffstats
path: root/bug_form.pl
diff options
context:
space:
mode:
authorterry%mozilla.org <>2000-01-27 06:56:24 +0100
committerterry%mozilla.org <>2000-01-27 06:56:24 +0100
commitbad296d9f02c889a99d8458b1e3be9c5084cd96a (patch)
tree50001403c6271476f114ecb313a98edca252ef64 /bug_form.pl
parentc6c81144fc9c5976e3a747a27b469f7d9d991e67 (diff)
downloadbugzilla-bad296d9f02c889a99d8458b1e3be9c5084cd96a.tar.gz
bugzilla-bad296d9f02c889a99d8458b1e3be9c5084cd96a.tar.xz
Patch by Rob Baham <robb@scitechsoft.com> -- links to other bugs
should be relative URLs, not absolute.
Diffstat (limited to 'bug_form.pl')
-rw-r--r--bug_form.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/bug_form.pl b/bug_form.pl
index 8af49c635..0bee1ba61 100644
--- a/bug_form.pl
+++ b/bug_form.pl
@@ -91,13 +91,13 @@ sub quoteUrls {
my $num = $2;
$item = value_quote($item); # Not really necessary, since we know
# there's no special chars in it.
- $item = qq{<A HREF="${base}show_bug.cgi?id=$num">$item</A>};
+ $item = qq{<A HREF="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>@;
+ $item =~ s@\d+@<A HREF="show_bug.cgi?id=$num">$num</A>@;
$things[$count++] = $item;
}
while ($text =~ s/Created an attachment \(id=(\d+)\)/"##$count##"/e) {