don't escape "/" in title when making a blog entry, allow creating a subdir

master
joey 2006-03-26 02:49:34 +00:00
parent 9092356173
commit bb8096264e
1 changed files with 1 additions and 1 deletions

View 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="";