]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Setup/Automator.pm
Fix bug in wikiname sanitisation in the setup automator.
[git.ikiwiki.info.git] / IkiWiki / Setup / Automator.pm
index f6eb00f7085ed4421667b6b9e43b03c476b1fe63..a54b53817bfbbf726d26ce298fdc8b4eb2a4479f 100644 (file)
@@ -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)");
        }