fix rss url in nested pages
[ikiwiki.git] / IkiWiki / CGI.pm
index a8f54c781fc91c33fca5bfc85ae7edc896907860..45a72bfcb0e57fb04cd1f35caf4792fbf0ee2f59 100644 (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="";