X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/9919f92be5243918178e222b876ab09317b00ab2..623c7e17989f53ef049f12639950d2c50c9edd4f:/doc/bugs/structured_config_data_is_mangled.mdwn?ds=sidebyside diff --git a/doc/bugs/structured_config_data_is_mangled.mdwn b/doc/bugs/structured_config_data_is_mangled.mdwn index 7d8f5defb..869d48e96 100644 --- a/doc/bugs/structured_config_data_is_mangled.mdwn +++ b/doc/bugs/structured_config_data_is_mangled.mdwn @@ -46,3 +46,16 @@ sub checkconfig { } } ~~~ + +> `getsetup` defines config options to be one of: boolean, string, integer, +> pagespec, "internal" (non-user-visible string), ref to an array of one of +> those scalar types, or ref to a hash { string => one of those scalar types }. +> IkiWiki::Setup also appears to support regexps (qr//), although that's +> not documented (presumably they're treated the same as strings). +> +> Supporting arbitrary arrays/hashes as values would require some way to +> untaint the values recursively. +> +> Complex config data also can't be used with the [[plugins/websetup]] +> plugin, which currently supports everything that IkiWiki::Setup does, +> except for hashes. --[[smcv]]