Branch: Tag:

2000-03-20

2000-03-20 03:47:08 by Martin Stjernholm <mast@lysator.liu.se>

Do fix_relative() a bit earlier in try_get_file() to get the cache key
correct.

Rev: server/base_server/configuration.pike:1.284

3:   //   // German translation by Kai Voigt    - constant cvs_version = "$Id: configuration.pike,v 1.283 2000/03/20 03:40:48 mast Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.284 2000/03/20 03:47:08 mast Exp $";   constant is_configuration = 1;   #include <module.h>   #include <roxen.h>
2065:       fake_id->misc->common = id->misc->common;    +  s = Roxen.fix_relative (s, id); +     if(!id->pragma["no-cache"] && !nocache && (!id->auth || !id->auth[0])) {    cache_key =    s + "\0" +
2080:    // returns a vanilla (i.e. http) id instead when this function is    // used.    s = fake_id->scan_for_query (s); -  -  s = Roxen.fix_relative (s, id); +     fake_id->raw_url=s;    fake_id->not_query=s;