diff options
author | myk%mozilla.org <> | 2005-08-31 07:41:17 +0200 |
---|---|---|
committer | myk%mozilla.org <> | 2005-08-31 07:41:17 +0200 |
commit | 5fbf48df3df4d8be8637e85467fe6423ed7f1ed1 (patch) | |
tree | ae052cd0dad32e1a34e414ea64742154e377bd04 /template/en/default | |
parent | a9d5c4871b4cd0e8dd66d2fa12c50d31bf9ad9ec (diff) | |
download | bugzilla-5fbf48df3df4d8be8637e85467fe6423ed7f1ed1.tar.gz bugzilla-5fbf48df3df4d8be8637e85467fe6423ed7f1ed1.tar.xz |
Fix for bug 305773: fixes regression in flag validation code that let through untrusted requestees when multiple requestees were entered into a requestee field (per the new feature that lets multiple requestees be entered into those fields); r=lpsolit
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/global/code-error.html.tmpl | 5 | ||||
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 9d9422ad5..f11b27b0a 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -179,8 +179,9 @@ [% END %] [% ELSIF error == "flag_requestee_disabled" %] - [% title = "Flag not Specifically Requestable" %] - The flag <em>[% name FILTER html %]</em> is not specifically requestable. + [% title = "Flag not Requestable from Specific Person" %] + You can't ask a specific person for + <em>[% type.name FILTER html %]</em>. [% ELSIF error == "flag_status_invalid" %] The flag status <em>[% status FILTER html %]</em> diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index d86befd5d..e7798b068 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -420,6 +420,10 @@ you could convert it to a compressible format like JPG or PNG and try again. + [% ELSIF error == "flag_not_multiplicable" %] + You can't ask more than one person at a time for + <em>[% type.name FILTER html %]</em>. + [% ELSIF error == "flag_requestee_unauthorized" %] [% title = "Flag Requestee Not Authorized" %] @@ -430,8 +434,8 @@ but that [% terms.bug %] has been restricted to users in certain groups, and the user you asked isn't in all the groups to which the [% terms.bug %] has been restricted. - Please choose someone else to ask, or make the [% terms.bug %] accessible to users - on its CC: list and add that user to the list. + Please choose someone else to ask, or make the [% terms.bug %] accessible + to users on its CC: list and add that user to the list. [% ELSIF error == "flag_requestee_unauthorized_attachment" %] [% title = "Flag Requestee Not Authorized" %] |