diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-26 02:49:34 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-26 02:49:34 +0000 |
commit | bb8096264ef25aace6fd04a70941f4591ae0123a (patch) | |
tree | 5085c212ef7287ee1deddbb4e3f2fef380b4b8cc /IkiWiki | |
parent | 90923561734f17ad777237bed5e7b40e682344eb (diff) | |
download | ikiwiki-bb8096264ef25aace6fd04a70941f4591ae0123a.tar ikiwiki-bb8096264ef25aace6fd04a70941f4591ae0123a.tar.gz |
don't escape "/" in title when making a blog entry, allow creating a subdir
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/CGI.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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=""; |