Branch: Tag:

2007-12-21

2007-12-21 16:08:34 by Marcus Wellhardh <wellhard@roxen.com>

Backport from 5.0 1.643: make_fake_id() now sets raw_url correctly. Fixed [RT 10643] and [Bug 4453 (#4453)].

Rev: server/base_server/configuration.pike:1.630

5:   // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.629 2007/08/06 07:14:47 noring Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.630 2007/12/21 16:08:34 wellhard Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>
2941:       fake_id->misc->common = id->misc->common;    fake_id->conf = this_object(); +  fake_id->raw_url = s;       if (fake_id->scan_for_query)    // FIXME: If we're using e.g. ftp this doesn't exist. But the
2957:    if (search(s, "\0") != -1)    sscanf(s, "%s\0", s);    -  fake_id->raw_url=s; +     fake_id->not_query=s;       return fake_id;