From: joey Date: Sun, 26 Mar 2006 02:49:34 +0000 (+0000) Subject: don't escape "/" in title when making a blog entry, allow creating a subdir X-Git-Tag: 1.0~166 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bb8096264ef25aace6fd04a70941f4591ae0123a;p=ikiwiki.git don't escape "/" in title when making a blog entry, allow creating a subdir --- 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="";