Skip to content
This repository was archived by the owner on Feb 5, 2024. It is now read-only.

Commit 1c0ec5f

Browse files
committed
Fix name start with https?
1 parent 394717a commit 1c0ec5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/models/page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ module.exports = function(crowi) {
329329
/^\/\-\/.*/,
330330
/^\/_r\/.*/,
331331
/^\/user\/[^\/]+\/(bookmarks|comments|activities|pages|recent-create|recent-edit)/, // reserved
332-
/^http:\/\/.+$/, // avoid miss in renaming
332+
/^https?:\/\/.+$/, // avoid miss in renaming
333333
/.+\/edit$/,
334334
/.+\.md$/,
335335
/^\/(installer|register|login|logout|admin|me|files|trash|paste|comments)(\/.*|$)/,

0 commit comments

Comments
 (0)