From f796cf6076ca7c08882c863c3d07774aedcda34a Mon Sep 17 00:00:00 2001 From: "justdave%bugzilla.org" <> Date: Sat, 15 Jan 2005 12:22:17 +0000 Subject: Bug 276907: Don't linkify javascript: or data: URLs in the URL field on a bug. Patch by Gervase Markham r= justdave,vladd, a= justdave --- template/en/default/bug/edit.html.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'template/en/default/bug/edit.html.tmpl') 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 @@ - [% IF bug.bug_file_loc %] + [% IF bug.bug_file_loc + AND NOT bug.bug_file_loc.match("^(javascript|data)") %] URL: [% ELSE %] URL: -- cgit v1.2.3-24-g4f1b