From 164b989ee0e92922fa031e870836a30d1a7cc39c Mon Sep 17 00:00:00 2001 From: "mozilla%colinogilvie.co.uk" <> Date: Fri, 4 Apr 2008 11:47:38 +0000 Subject: Bug 232378: switch from entities to XIncludes for inclusion of modular docs files Patch by Colin Ogilvie ; r=vladd --- docs/en/xml/security.xml | 51 +++++++++++++++++++++--------------------------- 1 file changed, 22 insertions(+), 29 deletions(-) (limited to 'docs/en/xml/security.xml') diff --git a/docs/en/xml/security.xml b/docs/en/xml/security.xml index bc8aae657..a1f2f5770 100644 --- a/docs/en/xml/security.xml +++ b/docs/en/xml/security.xml @@ -1,5 +1,9 @@ - - + + + %myents; +]> Bugzilla Security @@ -207,14 +211,6 @@ skip-networking - - But allow: - - localconfig.js - localconfig.rdf - - - @@ -360,28 +356,25 @@ skip-networking
Prevent users injecting malicious Javascript - It is possible for a Bugzilla user to take advantage of character - set encoding ambiguities to inject HTML into Bugzilla comments. This - could include malicious scripts. - Due to internationalization concerns, we are unable to - incorporate by default the code changes suggested by + If you installed Bugzilla version 2.22 or later from scratch, + then the utf8 parameter is switched on by default. + This makes Bugzilla explicitly set the character encoding, following the - CERT advisory on this issue. - Making the change in will - prevent this problem. + url="http://www.cert.org/tech_tips/malicious_code_mitigation.html#3">a + CERT advisory recommending exactly this. + The following therefore does not apply to you; just keep + utf8 turned on. - - Forcing Bugzilla to output a charset - - Locate the following line in - Bugzilla/CGI.pm: - $self->charset(''); - and change it to: - $self->charset('UTF-8'); - - + If you've upgraded from an older version, then it may be possible + for a Bugzilla user to take advantage of character set encoding + ambiguities to inject HTML into Bugzilla comments. + This could include malicious scripts. + This is because due to internationalization concerns, we are unable to + turn the utf8 parameter on by default for upgraded + installations. + Turning it on manually will prevent this problem. +
-- cgit v1.2.3-24-g4f1b