From 5fbf48df3df4d8be8637e85467fe6423ed7f1ed1 Mon Sep 17 00:00:00 2001
From: "myk%mozilla.org" <>
Date: Wed, 31 Aug 2005 05:41:17 +0000
Subject: 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
---
template/en/default/global/code-error.html.tmpl | 5 +++--
template/en/default/global/user-error.html.tmpl | 8 ++++++--
2 files changed, 9 insertions(+), 4 deletions(-)
(limited to 'template/en/default/global')
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 [% name FILTER html %] is not specifically requestable.
+ [% title = "Flag not Requestable from Specific Person" %]
+ You can't ask a specific person for
+ [% type.name FILTER html %].
[% ELSIF error == "flag_status_invalid" %]
The flag status [% status FILTER html %]
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
+ [% type.name FILTER html %].
+
[% 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" %]
--
cgit v1.2.3-24-g4f1b