Sotaro KARASAWA 9 лет назад
Родитель
Сommit
1c0ec5f8c6
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib/models/page.js

+ 1 - 1
lib/models/page.js

@@ -329,7 +329,7 @@ module.exports = function(crowi) {
       /^\/\-\/.*/,
       /^\/_r\/.*/,
       /^\/user\/[^\/]+\/(bookmarks|comments|activities|pages|recent-create|recent-edit)/, // reserved
-      /^http:\/\/.+$/, // avoid miss in renaming
+      /^https?:\/\/.+$/, // avoid miss in renaming
       /.+\/edit$/,
       /.+\.md$/,
       /^\/(installer|register|login|logout|admin|me|files|trash|paste|comments)(\/.*|$)/,