From bb8096264ef25aace6fd04a70941f4591ae0123a Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 26 Mar 2006 02:49:34 +0000 Subject: [PATCH] don't escape "/" in title when making a blog entry, allow creating a subdir --- IkiWiki/CGI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index a8f54c781..45a72bfcb 100644 --- a/IkiWiki/CGI.pm +++ b/IkiWiki/CGI.pm @@ -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="";