summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.pm
diff options
context:
space:
mode:
authorGuy Pyrzak <guy.pyrzak@gmail.com>2010-10-03 22:44:42 +0200
committerGuy Pyrzak <guy.pyrzak@gmail.com>2010-10-03 22:44:42 +0200
commit71320dae661a8ca351128d917c894b0f8318eaf3 (patch)
tree7a868603eae8d17bb069d5d54d4635ee41ba1a5a /Bugzilla/Template.pm
parent22c1448223846c21addc7c1b1896989191163429 (diff)
downloadbugzilla-71320dae661a8ca351128d917c894b0f8318eaf3.tar.gz
bugzilla-71320dae661a8ca351128d917c894b0f8318eaf3.tar.xz
Bug 65477: Send HTML bugmail
r=mkanat, a=mkanat
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r--Bugzilla/Template.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index 5ff5482b2..ee4d6cba2 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -348,8 +348,12 @@ sub get_bug_link {
}
# Prevent code injection in the title.
$title = html_quote(clean_text($title));
-
my $linkval = "show_bug.cgi?id=" . $bug->id;
+
+ if ($options->{full_url}) {
+ $linkval = correct_urlbase() . $linkval;
+ }
+
if (defined $options->{comment_num}) {
$linkval .= "#c" . $options->{comment_num};
}