From 6cf96b581974b3e59af3289196c4687c2416f35c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 21 Aug 2008 23:40:11 -0400 Subject: Fix bug in wikiname sanitisation in the setup automator. --- IkiWiki/Setup/Automator.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki/Setup') diff --git a/IkiWiki/Setup/Automator.pm b/IkiWiki/Setup/Automator.pm index f6eb00f70..a54b53817 100644 --- a/IkiWiki/Setup/Automator.pm +++ b/IkiWiki/Setup/Automator.pm @@ -28,7 +28,7 @@ sub import (@) { #{{{ IkiWiki::Setup::merge({@_}); # Sanitize this to avoid problimatic directory names. - $config{wikiname}=~s/[^-A-Za-z0-9_] //g; + $config{wikiname}=~s/[^-A-Za-z0-9_]//g; if (! length $config{wikiname}) { error gettext("you must enter a wikiname (that contains alphanumerics)"); } -- cgit v1.2.3