You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Kenji Miyake <ke...@miyake.org> on 2000/05/10 13:20:02 UTC

Re: general/5872: AddDefaultCharset doesn't work with charset_name other then iso-8859-1

The following reply was made to PR general/5872; it has been noted by GNATS.

From: Kenji Miyake <ke...@miyake.org>
To: apbugs@apache.org
Cc: dnitry_volkoff@hotmail.com
Subject: Re: general/5872: AddDefaultCharset doesn't work with charset_name other then iso-8859-1
Date: Wed, 10 May 2000 20:13:26 +0900

  This patch correct AddDefaultCharset's charset name may override by
 default charset name problem. (PR#5872)
 
  Please investigate.
 
 --- ./src/main/http_core.c.org	Sat Feb 19 05:41:47 2000
 +++ ./src/main/http_core.c	Fri May  5 07:52:40 2000
 @@ -285,11 +285,8 @@
      }
  
      if (new->add_default_charset != ADD_DEFAULT_CHARSET_UNSET) {
 -	conf->add_default_charset = new->add_default_charset;
 -    }
 -
 -    if (new->add_default_charset_name) {
 -	conf->add_default_charset_name = new->add_default_charset_name;
 +        conf->add_default_charset = new->add_default_charset;
 +        conf->add_default_charset_name = new->add_default_charset_name;
      }
  
      return (void*)conf;