Browse Source

added '%' to forbiddenPages

sou 7 years ago
parent
commit
5f38ad3648
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/models/page.js

+ 1 - 1
lib/models/page.js

@@ -410,7 +410,7 @@ module.exports = function(crowi) {
 
   pageSchema.statics.isCreatableName = function(name) {
     var forbiddenPages = [
-      /\^|\$|\*|\+|#/,
+      /\^|\$|\*|\+|#|%/,
       /^\/-\/.*/,
       /^\/_r\/.*/,
       /^\/_apix?(\/.*)?/,