Branch: Tag:

2007-08-15

2007-08-15 11:03:23 by Martin Stjernholm <mast@lysator.liu.se>

Removed a silly catch. If we have a bogus output charset, we want to
know about it.

Rev: server/base_server/prototypes.pike:1.193

6:   #include <module.h>   #include <variables.h>   #include <module_constants.h> - constant cvs_version="$Id: prototypes.pike,v 1.192 2007/07/12 18:58:18 mast Exp $"; + constant cvs_version="$Id: prototypes.pike,v 1.193 2007/08/15 11:03:23 mast Exp $";      #ifdef DAV_DEBUG   #define DAV_WERROR(X...) werror(X)
1795:    return string_to_utf8;       default: -  catch { +     // Use entity fallback if content type allows it    function fallback_func =    allow_entities &&
1809:    _charset_decoder_func(Locale.Charset.encoder((string) what, "",    fallback_func))    ->decode; -  }; +     }    return lambda(string what) { return what; };    }