summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-08-31 02:12:22 +0200
committerlpsolit%gmail.com <>2005-08-31 02:12:22 +0200
commit113c051bf29b596aeaded37185eee18551c5504d (patch)
treee7373d98908828e39f9da9416daaeeb9faf36ea7
parentd4f69fa08839a1eef5d4d8bd805d53ef6cdc5dbe (diff)
downloadbugzilla-113c051bf29b596aeaded37185eee18551c5504d.tar.gz
bugzilla-113c051bf29b596aeaded37185eee18551c5504d.tar.xz
Bug 121112: long_list.cgi generates bad links - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=myk
-rw-r--r--template/en/default/bug/comments.html.tmpl6
-rw-r--r--template/en/default/filterexceptions.pl1
2 files changed, 5 insertions, 2 deletions
diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl
index cf279d05d..289593b7a 100644
--- a/template/en/default/bug/comments.html.tmpl
+++ b/template/en/default/bug/comments.html.tmpl
@@ -77,7 +77,8 @@
<table>
<tr>
<td align="left">
- <b><a name="c0" href="#c0">Description</a>:</b>&nbsp;&nbsp;<script
+ <b><a name="c0" href="show_bug.cgi?id=[% bug.bug_id %]#c0">
+ Description</a>:</b>&nbsp;&nbsp;<script
type="text/javascript"><!--
addReplyLink(0);
//--></script>
@@ -91,7 +92,8 @@
<br>
<span class="bz_comment">
------- <i>Comment
- <a name="c[% count %]" href="#c[% count %]">#[% count %]</a> From
+ <a name="c[% count %]" href="show_bug.cgi?id=[% bug.bug_id %]#c[% count %]">
+ #[% count %]</a> From
<a href="mailto:[% comment.email FILTER html %]">
[% comment.name FILTER html %]</a>
[%+ comment.time FILTER time %]
diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl
index 5d70380ca..cc5a19d09 100644
--- a/template/en/default/filterexceptions.pl
+++ b/template/en/default/filterexceptions.pl
@@ -305,6 +305,7 @@
'bug/comments.html.tmpl' => [
'comment.isprivate',
'comment.when',
+ 'bug.bug_id',
],
'bug/dependency-graph.html.tmpl' => [