Branch: Tag:

2006-06-26

2006-06-26 16:27:30 by Marcus Wellhardh <wellhard@roxen.com>

Fixed problem in register_vary_callback("User-Agent"). Fixed [rt# 7883].

Rev: server/base_server/prototypes.pike:1.172

6:   #include <module.h>   #include <variables.h>   #include <module_constants.h> - constant cvs_version="$Id: prototypes.pike,v 1.171 2006/05/31 15:33:25 mast Exp $"; + constant cvs_version="$Id: prototypes.pike,v 1.172 2006/06/26 16:27:30 wellhard Exp $";      #ifdef DAV_DEBUG   #define DAV_WERROR(X...) werror(X)
1004:    register_vary_callback("User-Agent",    lambda(string ignored, RequestID id)    { -  return (string)!has_value(id->client, "MSIE"); +  return (string)!has_value(id->client||"", +  "MSIE");    });    if (supports->vary) {    register_vary_callback("Cookie", Roxen->get_cookie_callback(cookie));