Closes #33
@@ -183,11 +183,12 @@ module.exports = function(crowi) {
pageSchema.statics.isCreatableName = function(name) {
var forbiddenPages = [
- /\^|\$|\*|\+/,
+ /\^|\$|\*|\+|\#/,
/^\/_api\/.*/,
/^\/\-\/.*/,
/^\/_r\/.*/,
/.+\/edit$/,
+ /\/$/,
/^\/(installer|register|login|logout|admin|me|files|trash|paste|comments).+/,
];