Branch: Tag:

1997-08-13

1997-08-13 23:25:52 by David Hedbor <david@hedbor.org>

- New html_encode_* functions in roxenlib.pike.
- internal-[roxen|gopher] not parsed for URLs not beginning with /

Rev: server/base_server/config/describers.pike:1.37
Rev: server/base_server/config/low_describers.pike:1.10
Rev: server/base_server/configuration.pike:1.55
Rev: server/base_server/roxenlib.pike:1.35

1: - string cvs_version = "$Id: configuration.pike,v 1.54 1997/08/13 21:37:30 per Exp $"; + string cvs_version = "$Id: configuration.pike,v 1.55 1997/08/13 23:25:49 neotron Exp $";   #include <module.h>   #include <roxen.h>   /* A configuration.. */
881: Inside #if undefined(NO_INTERNAL_HACK)
   {   #ifndef NO_INTERNAL_HACK    // No, this is not beautiful... :) -  if(sscanf(id->not_query, "%*s/internal-%s", loc)) +  if(id->not_query[0] == '/'&& sscanf(id->not_query, "%*s/internal-%s", loc))    {    if(sscanf(loc, "gopher-%[^/]", loc)) // The directory icons.    return internal_gopher_image(loc);