Explorar el Código

Fix pagename problem

Kazuki Sawada hace 10 años
padre
commit
dcfbbc7931
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;