Roxen.git / server / base_server / module.pike

version» Context lines:

Roxen.git/server/base_server/module.pike:368:    if(has_value(uri->host, "*") || has_value(uri->host, "?"))    if(glob(uri->host, hostname))    uri->host = hostname;    else {    if(!candidate_uri) {    candidate_uri = uri;    candidate_uri->host = hostname;    }    continue;    } -  return (string)uri + loc[1..]; +  uri->path += loc[1..]; +  return (string)uri;    }    if(candidate_uri) {    report_warning("Warning: Could not find any suitable ports, continuing anyway. "    "Please make sure that your Primary Server URL matches "    "at least one port. Primary Server URL: %O, URLs: %s.\n",    world_url, short_array(urls)); -  return (string)candidate_uri + loc[1..]; +  candidate_uri->path += loc[1..]; +  return (string)candidate_uri;    }    return 0;   }      /* By default, provide nothing. */   multiset(string) query_provides() { return 0; }         function(RequestID:int|mapping) query_seclevels()   {