Branch: Tag:

2000-09-16

2000-09-16 20:44:47 by Per Hedbor <ph@opera.com>

Made the charset setting user-local instead of configuration-interface global. Also made the whole charset handlign code way less sensitive to illegal charsets.

Rev: server/base_server/config_userdb.pike:1.3
Rev: server/modules/configuration/config_filesystem.pike:1.55
Rev: server/protocols/http.pike:1.274

2:   // Modified by Francesco Chemolli to add throttling capabilities.   // Copyright © 1996 - 2000, Roxen IS.    - constant cvs_version = "$Id: http.pike,v 1.273 2000/09/12 20:55:27 per Exp $"; + constant cvs_version = "$Id: http.pike,v 1.274 2000/09/16 20:44:47 per Exp $";   // #define REQUEST_DEBUG   #define MAGIC_ERROR   
177:    case string_to_utf8:    return string_to_utf8;    default: -  return Roxen._charset_decoder( Locale.Charset.encoder( (string)what ) )->decode; +  catch { +  return Roxen._charset_decoder( Locale.Charset.encoder( (string)what,"" ) )->decode; +  };    } -  +  return lambda(string what){return what;};   }      static array(string) join_charset( string old,