summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2011-08-10 01:46:03 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-08-10 01:46:03 +0200
commit36e4d1fddb336e0ebfb61e0b7870e2b60c666ef5 (patch)
tree0cdfbda05f2324575d3da845be7d1d1c10d0bc4d /template/en
parente002b3fdae068007cfe20c0ae6f598489161ea48 (diff)
downloadbugzilla-36e4d1fddb336e0ebfb61e0b7870e2b60c666ef5.tar.gz
bugzilla-36e4d1fddb336e0ebfb61e0b7870e2b60c666ef5.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/en')
-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 af2fc7b36..5af39dc80 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,