|
@@ -69,7 +69,7 @@ const boardTemplate = new templating.BoardTemplate(path.join(config.WEBROOT, 'bo
|
69
|
69
|
const indexTemplate = new templating.Template(path.join(config.WEBROOT, 'index.html'));
|
70
|
70
|
|
71
|
71
|
function validateBoardName(boardName) {
|
72
|
|
- if (/^[\w%\-_~]*$/.test(boardName)) return boardName;
|
|
72
|
+ if (/^[\w%\-_~()]*$/.test(boardName)) return boardName;
|
73
|
73
|
throw new Error("Illegal board name: " + boardName);
|
74
|
74
|
}
|
75
|
75
|
|