From: André Malo Date: Sat, 11 Dec 2004 08:24:03 +0000 (+0000) Subject: update transformation X-Git-Tag: 2.1.3~277 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb80a8b7a2a4cf8451e44a5935aaa328ff54f6d6;p=thirdparty%2Fapache%2Fhttpd.git update transformation git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@111586 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.html.de b/docs/manual/mod/core.html.de index 6c2f940a0a3..a4cee92a871 100644 --- a/docs/manual/mod/core.html.de +++ b/docs/manual/mod/core.html.de @@ -25,6 +25,9 @@  en  |  ja 

+
Diese Übersetzung ist möglicherweise + nicht mehr aktuell. Bitte prüfen Sie die englische Version auf + die neuesten Änderungen.
Beschreibung:Ständig verfügbare Kernfunktionen des Apache HTTP Servers
Status:Core
diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index 25d454efccc..9633a94d378 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -208,8 +208,8 @@ available
top

AddDefaultCharset Directive

- + @@ -217,21 +217,39 @@ response without an explicit character set
Description:Default character set to be added for a -response without an explicit character set
Description:Default charset parameter to be added when a response +content-type is "text/plain" or "text/html"
Syntax:AddDefaultCharset On|Off|charset
Default:AddDefaultCharset Off
Context:server config, virtual host, directory, .htaccess
Status:Core
Module:core
-

This directive specifies the name of the character set that - will be added to any response that does not have any parameter on - the content type in the HTTP headers. This will override any - character set specified in the body of the document via a - META tag. A setting of AddDefaultCharset - Off disables this - functionality. AddDefaultCharset On enables - Apache's internal default charset of iso-8859-1 as - required by the directive. You can also specify an alternate - charset to be used. For example:

+

This directive specifies a default value for the media type + charset parameter (the name of a character encoding) to be added + to a response if and only if the response's content-type is either + "text/plain" or "text/html". This should override any charset + specified in the body of the document via a META tag, + though the exact behavior is often dependent on the user's client + configuration. A setting of AddDefaultCharset Off + disables this functionality. AddDefaultCharset On enables + a default charset of iso-8859-1. Any other value is assumed + to be the charset to be used, which should be one of the + IANA registered + charset values for use in MIME media types. + For example:

AddDefaultCharset utf-8

+

AddDefaultCharset should only be used when all + of the text resources to which it applies are known to be in that + character encoding and it is too inconvenient to label their charset + individually. One such example is to add the charset parameter + to resources containing generated content, such as legacy CGI + scripts, that might be vulnerable to cross-site scripting attacks + due to user-provided data being included in the output. Note, however, + that a better solution is to just fix (or delete) those scripts, since + setting a default charset does not protect users that have enabled + the "auto-detect character encoding" feature on their browser.

+ +

See also

+
top

AddOutputFilterByType Directive

diff --git a/docs/manual/mod/core.html.ja.euc-jp b/docs/manual/mod/core.html.ja.euc-jp index 4de2eaaee21..7624ca075da 100644 --- a/docs/manual/mod/core.html.ja.euc-jp +++ b/docs/manual/mod/core.html.ja.euc-jp @@ -25,6 +25,8 @@  en  |  ja 

+
This translation may be out of date. Check the + English version for recent changes.
ÀâÌÀ:¾ï¤Ë»ÈÍѲÄǽ¤Ê Apache HTTP ¥µ¡¼¥Ð¤Î¥³¥¢µ¡Ç½
¥¹¥Æ¡¼¥¿¥¹:Core
diff --git a/docs/manual/mod/core.xml.de b/docs/manual/mod/core.xml.de index 257faae6bad..364f0c800bd 100644 --- a/docs/manual/mod/core.xml.de +++ b/docs/manual/mod/core.xml.de @@ -1,7 +1,7 @@ - + + + +