summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-01-10 03:59:53 +0100
committerlpsolit%gmail.com <>2006-01-10 03:59:53 +0100
commit2ebb84291955ea5b1f5bf35b9fb7760dddaec5e0 (patch)
tree9343bdec785aa5f39838cde9290be7b140934fd9 /Bugzilla
parent8508ede5763d9d98d8c4fc755847752d192c2126 (diff)
downloadbugzilla-2ebb84291955ea5b1f5bf35b9fb7760dddaec5e0.tar.gz
bugzilla-2ebb84291955ea5b1f5bf35b9fb7760dddaec5e0.tar.xz
Bug 238207: Comment autolinkification on midair page points to wrong cgi - Patch by Olav Vitters <bugzilla-mozilla@bkor.dhs.org> r=LpSolit a=justdave
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Template.pm10
1 files changed, 9 insertions, 1 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index 04a4db204..7dfb5c539 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -402,7 +402,15 @@ sub create {
# as prefix. In addition it replaces a ' ' by a '_'.
css_class_quote => \&Bugzilla::Util::css_class_quote ,
- quoteUrls => \&::quoteUrls ,
+ quoteUrls => [ sub {
+ my ($context, $bug) = @_;
+ return sub {
+ my $text = shift;
+ return &::quoteUrls($text, $bug);
+ };
+ },
+ 1
+ ],
bug_link => [ sub {
my ($context, $bug) = @_;