summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2011-08-10 01:37:14 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-08-10 01:37:14 +0200
commit10b07dbd8e3e96c53bb6f46874ecab1108146494 (patch)
tree1109a194ae57842acbb358a830327863754a0fd6 /template
parent81c0c249e1dab7e8bef7c4923a7a805220d9daf1 (diff)
downloadbugzilla-10b07dbd8e3e96c53bb6f46874ecab1108146494.tar.gz
bugzilla-10b07dbd8e3e96c53bb6f46874ecab1108146494.tar.xz
Bug 677187: If the attachment filename contains a newline, an error is thrown when trying to download the attachment
r/a=mkanat
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/user-error.html.tmpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 387a7df03..b3d92e45e 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -927,8 +927,9 @@
[% title = "Invalid Content-Type" %]
The content type <em>[% contenttype FILTER html %]</em> is invalid.
Valid types must be of the form <em>foo/bar</em> where <em>foo</em>
- is one of <em>[% constants.LEGAL_CONTENT_TYPES.join(', ') FILTER html %]</em>.
-
+ is one of <em>[% constants.LEGAL_CONTENT_TYPES.join(', ') FILTER html %]</em>
+ and <em>bar</em> must not contain any special characters (such as "=", "?", ...).
+
[% ELSIF error == "invalid_context" %]
[% title = "Invalid Context" %]
The context [% context FILTER html %] is invalid (must be a number,