summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/show-multiple.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/bug/show-multiple.html.tmpl')
-rw-r--r--template/en/default/bug/show-multiple.html.tmpl9
1 files changed, 7 insertions, 2 deletions
diff --git a/template/en/default/bug/show-multiple.html.tmpl b/template/en/default/bug/show-multiple.html.tmpl
index a985fccb4..a6c5fccea 100644
--- a/template/en/default/bug/show-multiple.html.tmpl
+++ b/template/en/default/bug/show-multiple.html.tmpl
@@ -116,8 +116,13 @@
<tr>
<td colspan="4">
<b>URL:</b>&nbsp;
- <a href="[% bug.bug_file_loc FILTER html %]">
- [% bug.bug_file_loc FILTER html %]</a>
+ [% IF bug.bug_file_loc
+ AND NOT bug.bug_file_loc.match("^(javascript|data)") %]
+ <a href="[% bug.bug_file_loc FILTER html %]">
+ [% bug.bug_file_loc FILTER html %]</a>
+ [% ELSE %]
+ [% bug.bug_file_loc FILTER html %]
+ [% END %]
</tr>
<tr>