]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch by Rob Baham <robb@scitechsoft.com> -- links to other bugs
authorterry%mozilla.org <>
Thu, 27 Jan 2000 05:56:24 +0000 (05:56 +0000)
committerterry%mozilla.org <>
Thu, 27 Jan 2000 05:56:24 +0000 (05:56 +0000)
should be relative URLs, not absolute.

bug_form.pl

index 8af49c635b9d2e5b0d4090a305b4727b3824e5cd..0bee1ba61c87baeca73faff3f1c0539dc7199343 100644 (file)
@@ -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) {