1997-03-12
1997-03-12 19:41:37 by Per Hedbor <ph@opera.com>
-
28d38dcbfd5b7db1d6ee3fccde0dda6b865dc4f5
(6 lines)
(+5/-1)
[
Show
| Annotate
]
Branch: 5.2
Fixes for the new 'security per tag' parsing.
Rev: server/base_server/configuration.pike:1.17
Rev: server/base_server/roxen.pike:1.45
Rev: server/base_server/roxenlib.pike:1.18
Rev: server/modules/scripting/cgi.pike:1.12
Rev: server/modules/tags/htmlparse.pike:1.24
1:
- string cvs_version = "$Id: configuration.pike,v 1.16 1997/02/27 19:45:58 per Exp $";
+ string cvs_version = "$Id: configuration.pike,v 1.17 1997/03/12 19:38:29 per Exp $";
#include <module.h>
#include <roxen.h>
/* A configuration.. */
893: Inside #if defined(EXTENSION_MODULES) and #if defined(MODULE_LEVEL_SECURITY)
fid = tmp;
#ifdef MODULE_LEVEL_SECURITY
slevel = function_object(funp)->query("_seclvl");
+ id->misc->seclevel = slevel;
#endif
break;
}
927: Inside #if defined(MODULE_LEVEL_SECURITY)
{
#ifdef MODULE_LEVEL_SECURITY
slevel = misc_cache[ tmp[1] ][1];// misc_cache from check_security
+ id->misc->seclevel = slevel;
#endif
break;
}
1398:
(module->type & MODULE_URL) ||
(module->type & MODULE_LAST) ||
(module->type & MODULE_FILTER) ||
+ (module->type & MODULE_PARSER) ||
(module->type & MODULE_FIRST))
{
me->defvar("_priority", 5, "Priority", TYPE_INT_LIST,