Browse Source

forbid question mark

Steven Fukase 4 years ago
parent
commit
18cb24d0ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/util/path-utils.js

+ 1 - 1
src/lib/util/path-utils.js

@@ -38,7 +38,7 @@ const isUserPage = (path) => {
 };
 
 const forbiddenPages = [
-  /\^|\$|\*|\+|#|%/,
+  /\^|\$|\*|\+|#|%|\?/,
   /^\/-\/.*/,
   /^\/_r\/.*/,
   /^\/_apix?(\/.*)?/,