projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9092356
)
don't escape "/" in title when making a blog entry, allow creating a subdir
author
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 26 Mar 2006 02:49:34 +0000
(
02:49
+0000)
committer
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 26 Mar 2006 02:49:34 +0000
(
02:49
+0000)
IkiWiki/CGI.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/CGI.pm
b/IkiWiki/CGI.pm
index a8f54c781fc91c33fca5bfc85ae7edc896907860..45a72bfcb0e57fb04cd1f35caf4792fbf0ee2f59 100644
(file)
--- 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="";