diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2011-08-10 01:37:14 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2011-08-10 01:37:14 +0200 |
commit | 10b07dbd8e3e96c53bb6f46874ecab1108146494 (patch) | |
tree | 1109a194ae57842acbb358a830327863754a0fd6 /template | |
parent | 81c0c249e1dab7e8bef7c4923a7a805220d9daf1 (diff) | |
download | bugs-10b07dbd8e3e96c53bb6f46874ecab1108146494.tar bugs-10b07dbd8e3e96c53bb6f46874ecab1108146494.tar.gz bugs-10b07dbd8e3e96c53bb6f46874ecab1108146494.tar.bz2 bugs-10b07dbd8e3e96c53bb6f46874ecab1108146494.tar.xz bugs-10b07dbd8e3e96c53bb6f46874ecab1108146494.zip |
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.tmpl | 5 |
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, |