Changeset 15378 in project


Ignore:
Timestamp:
08/09/09 17:40:48 (10 years ago)
Author:
certainty
Message:

Changes applied for certainty (82.82.131.238) through svnwiki:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/uri-dispatch

    r15377 r15378  
    4343So you might want to '''enable-checks''' in production and whitelist only those modules and/or procedures you really want
    4444to be callable from the outside. Whitelisting can be done with this procedure. It expects a list that defines the procedure/modules
    45 you want to whitelist. You have basically three possibilities to perform whitelisting all of which can be combined.
     45you want to whitelist. If a procedure is requested that does exist but is not whitelisted '''dispatch-error''' is invoked.
     46You have basically three possibilities to perform whitelisting all of which can be combined.
    4647
    47481) whitelist procedures outside modules
     
    6970<parameter>enable-checks</parameter>
    7071
     72If set to #t then whitelist-checks are enabled. Defaults to #f.
     73
    7174<parameter>default-dispatch-target</parameter>
    7275
     76A thunk that is invoke when the uri-path was empty. If set to #f then an empty path leads to the invocation of dispatch-error.
     77Defaults to #f.
     78
    7379<parameter>dispatch-environment</parameter>
     80
     81The environment that is used to lookup the procedures. It defaults to '''current-interaction-environment'''.
    7482
    7583
Note: See TracChangeset for help on using the changeset viewer.