Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
f796cf60
Commit
f796cf60
authored
Jan 15, 2005
by
justdave%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
parent
ffdfa89b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
edit.html.tmpl
template/en/default/bug/edit.html.tmpl
+2
-1
show-multiple.html.tmpl
template/en/default/bug/show-multiple.html.tmpl
+5
-0
No files found.
template/en/default/bug/edit.html.tmpl
View file @
f796cf60
...
...
@@ -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:
...
...
template/en/default/bug/show-multiple.html.tmpl
View file @
f796cf60
...
...
@@ -116,8 +116,13 @@
<tr>
<td colspan="4">
<b>URL:</b>
[% 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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment