don't escape "/" in title when making a blog entry, allow creating a subdir
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 26 Mar 2006 02:49:34 +0000 (02:49 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 26 Mar 2006 02:49:34 +0000 (02:49 +0000)
IkiWiki/CGI.pm

index a8f54c781fc91c33fca5bfc85ae7edc896907860..45a72bfcb0e57fb04cd1f35caf4792fbf0ee2f59 100644 (file)
@@ -511,7 +511,7 @@ sub cgi () { #{{{
                # is entered
                my $page=lc($q->param('title'));
                $page=~y/ /_/;
-               $page=~s/([^-A-Za-z0-9_:+])/"__".ord($1)."__"/eg;
+               $page=~s/([^-A-Za-z0-9_:+/])/"__".ord($1)."__"/eg;
                # if the page already exist, munge it to be unique
                my $from=$q->param('from');
                my $add="";