diff -urN '--exclude=CVS' '--exclude=*.pdf' '--exclude=.bzr' bugzilla-4.0.4/template/en/default/attachment/show-multiple.html.tmpl bugzilla-4.0.5/template/en/default/attachment/show-multiple.html.tmpl --- bugzilla-4.0.4/template/en/default/attachment/show-multiple.html.tmpl 2010-03-07 13:46:25.000000000 -0500 +++ bugzilla-4.0.5/template/en/default/attachment/show-multiple.html.tmpl 2012-02-22 15:34:38.443747000 -0500 @@ -83,10 +83,22 @@ [% IF a.is_viewable %] - + [% IF a.contenttype == "text/html" %] + [%# For security reasons (clickjacking, embedded scripts), we never + # render HTML pages from here. The source code is displayed instead. %] + [% INCLUDE global/textarea.html.tmpl + minrows = 10 + cols = 80 + defaultcontent = a.data + readonly = 'readonly' + classes = 'viewall_frame' + %] + [% ELSE %] + + [% END %] [% ELSE %]

Attachment cannot be viewed because its MIME type is not text/*, image/*, or application/vnd.mozilla.*. diff -urN '--exclude=CVS' '--exclude=*.pdf' '--exclude=.bzr' bugzilla-4.0.4/template/en/default/global/user-error.html.tmpl bugzilla-4.0.5/template/en/default/global/user-error.html.tmpl --- bugzilla-4.0.4/template/en/default/global/user-error.html.tmpl 2012-01-31 11:16:56.000000000 -0500 +++ bugzilla-4.0.5/template/en/default/global/user-error.html.tmpl 2012-02-22 15:34:38.443747000 -0500 @@ -1685,6 +1685,11 @@ <[% type FILTER html %]> field. (See the XML-RPC specification for details.) + [% ELSIF error == "xmlrpc_illegal_content_type" %] + When using XML-RPC, you cannot send data as + [%+ content_type FILTER html %]. Only text/xml + and application/xml are allowed. + [% ELSIF error == "zero_length_file" %] [% title = "File Is Empty" %] The file you are trying to attach is empty, does not exist, or you don't diff -urN '--exclude=CVS' '--exclude=*.pdf' '--exclude=.bzr' bugzilla-4.0.4/template/en/default/pages/release-notes.html.tmpl bugzilla-4.0.5/template/en/default/pages/release-notes.html.tmpl --- bugzilla-4.0.4/template/en/default/pages/release-notes.html.tmpl 2012-01-27 17:16:47.000000000 -0500 +++ bugzilla-4.0.5/template/en/default/pages/release-notes.html.tmpl 2012-02-22 15:34:38.443747000 -0500 @@ -72,6 +72,22 @@

Updates in this 4.0.x Release

+

4.0.5

+ +

This release fixes one security issue. See the + Security Advisory + for details.

+ +

In addition, the following important change has been made in this release:

+ + +

4.0.4

This release fixes two security issues. See the