diff options
author | justdave%syndicomm.com <> | 2003-04-25 03:49:27 +0000 |
---|---|---|
committer | justdave%syndicomm.com <> | 2003-04-25 03:49:27 +0000 |
commit | 29021b187f042f023584dd3986c086ca68bef0a2 (patch) | |
tree | d6c1c7c114ffe92462ef4f1817c6a87f18e4141c /template/en/default/bug/create/create.html.tmpl | |
parent | 2fac94504175f4964ad254f07e184e00e10eef08 (diff) | |
download | bugs-29021b187f042f023584dd3986c086ca68bef0a2.tar bugs-29021b187f042f023584dd3986c086ca68bef0a2.tar.gz bugs-29021b187f042f023584dd3986c086ca68bef0a2.tar.bz2 bugs-29021b187f042f023584dd3986c086ca68bef0a2.tar.xz bugs-29021b187f042f023584dd3986c086ca68bef0a2.zip |
Bug 192677: Add new test to flag failure-to-filter situations in the templates, and correct the XSS holes that were discovered as a
result of it.
Patch by Gervase Markham <gerv@mozilla.org>
r= myk, bbaetz, justdave
a= justdave
Diffstat (limited to 'template/en/default/bug/create/create.html.tmpl')
-rw-r--r-- | template/en/default/bug/create/create.html.tmpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index c59cd3a70..fcc894e1e 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -107,7 +107,8 @@ [% sel = { description => 'Priority', name => 'priority' } %] [% INCLUDE select %] [% ELSE %] - <input type="hidden" name="priority" value="[% default.priority %]"> + <input type="hidden" name="priority" + value="[% default.priority FILTER html %]"> [% END %] [% sel = { description => 'Severity', name => 'bug_severity' } %] |