From: Joey Hess <joey@kodama.kitenet.net>
Date: Sat, 26 Jul 2008 17:10:52 +0000 (-0400)
Subject: fixes
X-Git-Tag: 2.60~212
X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/6b19afb3ef4f27516db25da52869280be3e02c14

fixes
---

diff --git a/IkiWiki/Setup/Standard.pm b/IkiWiki/Setup/Standard.pm
index 0e091b994..912b64ba6 100644
--- a/IkiWiki/Setup/Standard.pm
+++ b/IkiWiki/Setup/Standard.pm
@@ -57,7 +57,7 @@ sub dumpvalues ($@) { #{{{
 } #}}}
 
 sub dump ($) { #{{{
-	my $file=shift;
+	my $file=IkiWiki::possibly_foolish_untaint(shift);
 	
 	my %setup=(%config);
 	my @ret;
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn
index 271d8d641..faf164358 100644
--- a/doc/plugins/write.mdwn
+++ b/doc/plugins/write.mdwn
@@ -389,9 +389,10 @@ describing the option. For example:
 				rebuild => 0,
 			},
 
-* `type` can be "boolean", "string", "integer", or `undef` (use for complex
-  types). Note that the type is the type of the leaf values; the `%config`
-  option may be an array or hash of these.
+* `type` can be "boolean", "string", "integer", "internal" (used for values
+  that are not user-visible) or `undef` (use for complex types). Note that
+  the type is the type of the leaf values; the `%config` option may be an
+  array or hash of these.
 * `default` should be set to the default value of the option, if any.
 * `example` can be set to an example value, which will not be used by default.
 * `description` is a short description of the option.