Browse Source

Fix pagename problem

Kazuki Sawada 9 years ago
parent
commit
dcfbbc7931
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/models/page.js

+ 1 - 1
lib/models/page.js

@@ -332,7 +332,7 @@ module.exports = function(crowi) {
       /^http:\/\/.+$/, // avoid miss in renaming
       /.+\/edit$/,
       /.+\.md$/,
-      /^\/(installer|register|login|logout|admin|me|files|trash|paste|comments).+/,
+      /^\/(installer|register|login|logout|admin|me|files|trash|paste|comments)(\/.*|)$/,
     ];
 
     var isCreatable = true;