diff options
author | lpsolit%gmail.com <> | 2006-01-10 03:59:53 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-01-10 03:59:53 +0100 |
commit | 2ebb84291955ea5b1f5bf35b9fb7760dddaec5e0 (patch) | |
tree | 9343bdec785aa5f39838cde9290be7b140934fd9 /Bugzilla | |
parent | 8508ede5763d9d98d8c4fc755847752d192c2126 (diff) | |
download | bugzilla-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.pm | 10 |
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) = @_; |