Roxen.git / server / config_interface / logutil.pike

version» Context lines:

Roxen.git/server/config_interface/logutil.pike:119:    // module is either a RoxenModule object or a string as returned by    // get_modname(some RoxenModule), eg "ConfigInterface/piketag#0"    RoxenModule module = stringp(m) ? Roxen.get_module(m) : m;    Configuration conf = module->my_configuration();    string url_modname = replace(conf->otomod[module], "#", "!"),    url_confname = conf->name;       return ({ sprintf("/sites/site.html/%s/-!-/%s/?section=Information",    Roxen.http_encode_url(url_confname),    Roxen.http_encode_url(url_modname)), -  Roxen.get_modfullname(module) }); +  Roxen.html_encode_string(Roxen.get_modfullname(module)) });   }      // Returns ({ URL to virtual server config page, virtual server name })   array(string) get_conf_url_to_virtual_server(string|Configuration conf,    string|void lang)   {    // conf is either a conf object or the configuration's real name,    // eg "ConfigInterface"    string url_confname;    if(stringp(conf))    conf = roxen->find_configuration(url_confname = conf);    else    url_confname = conf->name;       return ({ sprintf("/sites/site.html/%s/", -  Roxen.http_encode_url(url_confname)), conf->query_name() }); +  Roxen.http_encode_url(url_confname)), +  Roxen.html_encode_string(conf->query_name()) });   }