diff options
author | justdave%bugzilla.org <> | 2005-01-15 12:22:17 +0000 |
---|---|---|
committer | justdave%bugzilla.org <> | 2005-01-15 12:22:17 +0000 |
commit | f796cf6076ca7c08882c863c3d07774aedcda34a (patch) | |
tree | 7f494de16ae21ae03e3f5f8bf0520c621e59063f /template/en/default/bug/edit.html.tmpl | |
parent | ffdfa89bed83a69785dd520aad163353c7b313c8 (diff) | |
download | bugs-f796cf6076ca7c08882c863c3d07774aedcda34a.tar bugs-f796cf6076ca7c08882c863c3d07774aedcda34a.tar.gz bugs-f796cf6076ca7c08882c863c3d07774aedcda34a.tar.bz2 bugs-f796cf6076ca7c08882c863c3d07774aedcda34a.tar.xz bugs-f796cf6076ca7c08882c863c3d07774aedcda34a.zip |
Bug 276907: Don't linkify javascript: or data: URLs in the URL field on a bug.
Patch by Gervase Markham <gerv@mozilla.org>
r= justdave,vladd, a= justdave
Diffstat (limited to 'template/en/default/bug/edit.html.tmpl')
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 94334066d..3a9fed0c7 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -301,7 +301,8 @@ <tr> <td align="right"> <b> - [% IF bug.bug_file_loc %] + [% IF bug.bug_file_loc + AND NOT bug.bug_file_loc.match("^(javascript|data)") %] <a href="[% bug.bug_file_loc FILTER html %]"><u>U</u>RL</a>: [% ELSE %] <u>U</u>RL: |