summaryrefslogtreecommitdiffstats
path: root/template/default/admin
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-04-07 13:13:31 +0200
committerbbaetz%student.usyd.edu.au <>2002-04-07 13:13:31 +0200
commit91341bcfc6d9e2f06b3abf3f73e05c2c60fbd30e (patch)
treeae48a5143c8a977e8a15bc2ad9faf1defd38f70b /template/default/admin
parentae8a18de80c43febc782c4f398e75fdf89281601 (diff)
downloadbugzilla-91341bcfc6d9e2f06b3abf3f73e05c2c60fbd30e.tar.gz
bugzilla-91341bcfc6d9e2f06b3abf3f73e05c2c60fbd30e.tar.xz
Bug 133423 - Audit templates for FILTER usage
r=gerv, justdave
Diffstat (limited to 'template/default/admin')
-rw-r--r--template/default/admin/account_created.tmpl2
-rw-r--r--template/default/admin/account_exists.tmpl4
-rw-r--r--template/default/admin/change-password.html.tmpl2
-rw-r--r--template/default/admin/create_account.tmpl2
4 files changed, 5 insertions, 5 deletions
diff --git a/template/default/admin/account_created.tmpl b/template/default/admin/account_created.tmpl
index ad4310ec4..46bc82ad2 100644
--- a/template/default/admin/account_created.tmpl
+++ b/template/default/admin/account_created.tmpl
@@ -25,7 +25,7 @@
<p>
A new account,
- <tt>[% login %]</tt>,
+ <tt>[% login FILTER html %]</tt>,
has been created and a randomly-generated password has been e-mailed
to that address.
</p>
diff --git a/template/default/admin/account_exists.tmpl b/template/default/admin/account_exists.tmpl
index 23b9e0338..a4357a5a0 100644
--- a/template/default/admin/account_exists.tmpl
+++ b/template/default/admin/account_exists.tmpl
@@ -25,8 +25,8 @@
<form method="get" action="token.cgi">
<input type="hidden" name="a" value="reqpw" />
- <input type="hidden" name="loginname" value="[% login %]" />
- A Bugzilla account for <tt>[% login %]</tt> already exists. If you
+ <input type="hidden" name="loginname" value="[% login FILTER html %]" />
+ A Bugzilla account for <tt>[% login FILTER html %]</tt> already exists. If you
are the account holder and have forgotten your password,
<input type="submit" value="submit a request to change it" />.
</form>
diff --git a/template/default/admin/change-password.html.tmpl b/template/default/admin/change-password.html.tmpl
index 29d03c030..a8ad930ee 100644
--- a/template/default/admin/change-password.html.tmpl
+++ b/template/default/admin/change-password.html.tmpl
@@ -26,7 +26,7 @@
</p>
<form method="post" action="token.cgi">
- <input type="hidden" name="t" value="[% token %]" />
+ <input type="hidden" name="t" value="[% token FILTER html %]" />
<input type="hidden" name="a" value="chgpw" />
<table>
<tr>
diff --git a/template/default/admin/create_account.tmpl b/template/default/admin/create_account.tmpl
index 61ad95b8a..ab35ce53d 100644
--- a/template/default/admin/create_account.tmpl
+++ b/template/default/admin/create_account.tmpl
@@ -38,7 +38,7 @@
</td>
<td>
<input size="35" name="login" />
- [% Param('emailsuffix') %]
+ [% Param('emailsuffix') FILTER html %]
</td>
</tr>