From: wurblzap%gmail.com <> Date: Fri, 4 Apr 2008 11:48:15 +0000 (+0000) Subject: Documentation patch for bug 126266: Use UTF-8 (Unicode) charset encoding for pages... X-Git-Tag: bugzilla-3.1.4~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94a020eaa450a082b6c8690f07ea83552fcc2909;p=thirdparty%2Fbugzilla.git Documentation patch for bug 126266: Use UTF-8 (Unicode) charset encoding for pages and email for NEW installations Patch by Marc Schumann r=colin.ogilvie --- diff --git a/docs/en/xml/security.xml b/docs/en/xml/security.xml index c373c455d4..c9b853b763 100644 --- a/docs/en/xml/security.xml +++ b/docs/en/xml/security.xml @@ -1,5 +1,5 @@ - + Bugzilla Security @@ -204,15 +204,6 @@ skip-networking *.pl *localconfig* - runtests.sh - - - - - But allow: - - localconfig.js - localconfig.rdf @@ -361,28 +352,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. +