aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/structured_config_data_is_mangled.mdwn
diff options
context:
space:
mode:
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>2013-12-06 05:38:57 -0400
committeradmin <admin@branchable.com>2013-12-06 05:38:57 -0400
commitfdfb31e912a6b6bda418b3bdba21d267c3fe1813 (patch)
treed9c18161244c1a49e21b7094980d9a7208e4c295 /doc/bugs/structured_config_data_is_mangled.mdwn
parentf5397e2b7cc81679d77a39ad6fa816cced8ace28 (diff)
downloadikiwiki-fdfb31e912a6b6bda418b3bdba21d267c3fe1813.tar
ikiwiki-fdfb31e912a6b6bda418b3bdba21d267c3fe1813.tar.gz
known limitation to the supported types, partly for websetup's benefit
Diffstat (limited to 'doc/bugs/structured_config_data_is_mangled.mdwn')
-rw-r--r--doc/bugs/structured_config_data_is_mangled.mdwn13
1 files changed, 13 insertions, 0 deletions
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]]